From b98fb7664639a814f3dba309eaf38b62be137bb8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 14 Jun 2015 17:43:40 +0000 Subject: elfutils: import package from packages.git elfutils is required by perf. So we'll move this package from packages.git and make it part of the core distribution. Signed-off-by: Mathieu Olivari SVN-Revision: 45969 --- package/libs/elfutils/patches/002-argp_standalone.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/libs/elfutils/patches/002-argp_standalone.patch (limited to 'package/libs/elfutils/patches/002-argp_standalone.patch') diff --git a/package/libs/elfutils/patches/002-argp_standalone.patch b/package/libs/elfutils/patches/002-argp_standalone.patch new file mode 100644 index 0000000..d1511a9 --- /dev/null +++ b/package/libs/elfutils/patches/002-argp_standalone.patch @@ -0,0 +1,14 @@ +--- elfutils-0.160/lib/color.c.old 2014-11-06 03:46:43.584116134 -0200 ++++ elfutils-0.160/lib/color.c 2014-11-06 03:47:25.840116128 -0200 +@@ -131,8 +131,10 @@ + - '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); + } + } -- cgit v1.1