mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
7ba6500d2c
Besides source.tgz, 001-elfutils-portability.patch (provided by upstream project) where updated. Other patches where updated to fix hulk warnings and minor conflicts. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> SVN-Revision: 45984
15 lines
554 B
Diff
15 lines
554 B
Diff
--- a/lib/color.c
|
|
+++ b/lib/color.c
|
|
@@ -131,8 +131,10 @@ valid arguments are:\n\
|
|
- 'never', 'no', 'none'\n\
|
|
- 'auto', 'tty', 'if-tty'\n"),
|
|
program_invocation_short_name, arg);
|
|
+ char program_invocation_short_name_nonconst[sizeof(program_invocation_short_name)];
|
|
+ strcpy(program_invocation_short_name_nonconst, program_invocation_short_name);
|
|
argp_help (&color_argp, stderr, ARGP_HELP_SEE,
|
|
- program_invocation_short_name);
|
|
+ program_invocation_short_name_nonconst);
|
|
exit (EXIT_FAILURE);
|
|
}
|
|
}
|