diff options
Diffstat (limited to 'experimental/elfutils/musl-macros.patch')
-rw-r--r-- | experimental/elfutils/musl-macros.patch | 40 |
1 files changed, 31 insertions, 9 deletions
diff --git a/experimental/elfutils/musl-macros.patch b/experimental/elfutils/musl-macros.patch index fb44d4f33..37c14cd46 100644 --- a/experimental/elfutils/musl-macros.patch +++ b/experimental/elfutils/musl-macros.patch @@ -17,11 +17,11 @@ /* State of -D/-U flags. */ extern bool arlib_deterministic_output; ---- a/src/elfcompress.c.orig 2016-04-02 12:51:26.903848894 +0200 -+++ b/src/elfcompress.c 2016-04-02 12:55:15.076996338 +0200 -@@ -35,6 +35,14 @@ - #include <gelf.h> - #include "system.h" +--- elfutils-0.179/src/elfcompress.c 2020-03-30 07:17:45.000000000 -0500 ++++ elfutils-0.179/src/elfcompress.c 2020-04-17 04:03:53.719403182 -0500 +@@ -37,6 +37,14 @@ + #include "libeu.h" + #include "printversion.h" +#if !defined(FNM_EXTMATCH) +# define FNM_EXTMATCH 0 @@ -32,11 +32,33 @@ +#endif + /* Name and version of program. */ - static void print_version (FILE *stream, struct argp_state *state); ARGP_PROGRAM_VERSION_HOOK_DEF = print_version; ---- a/src/strip.c.orig 2017-08-02 12:06:25.000000000 +0000 -+++ b/src/strip.c 2017-08-05 01:58:01.523493062 +0000 -@@ -47,6 +47,14 @@ + +@@ -134,8 +142,10 @@ parse_opt (int key, char *arg __attribut + case ARGP_KEY_SUCCESS: + if (type == T_UNSET) + type = T_COMPRESS_ZLIB; +- if (patterns == NULL) +- add_pattern (".?(z)debug*"); ++ if (patterns == NULL) { ++ add_pattern (".debug*"); ++ add_pattern (".zdebug*"); ++ } + break; + + case ARGP_KEY_NO_ARGS: +@@ -1312,7 +1322,7 @@ main (int argc, char **argv) + N_("What type of compression to apply. TYPE can be 'none' (decompress), 'zlib' (ELF ZLIB compression, the default, 'zlib-gabi' is an alias) or 'zlib-gnu' (.zdebug GNU style compression, 'gnu' is an alias)"), + 0 }, + { "name", 'n', "SECTION", 0, +- N_("SECTION name to (de)compress, SECTION is an extended wildcard pattern (defaults to '.?(z)debug*')"), ++ N_("SECTION name to (de)compress, SECTION is an wildcard pattern (defaults to '.debug*' and '.zdebug*')"), + 0 }, + { "verbose", 'v', NULL, 0, + N_("Print a message for each section being (de)compressed"), +--- elfutils-0.179/src/strip.c 2020-03-30 07:17:45.000000000 -0500 ++++ elfutils-0.179/src/strip.c 2020-04-17 04:03:53.719403182 -0500 +@@ -46,6 +46,14 @@ #include <system.h> #include <printversion.h> |