diff options
author | Max Rees <maxcrees@me.com> | 2019-07-18 06:15:43 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-08-07 18:07:49 -0500 |
commit | 420a64fe15922629a54e7d38cdedbf1fc86ee8ff (patch) | |
tree | 2b526e9b9426734eff19ca295dd42a91f37811a1 /experimental/elfutils/extmatch.patch | |
parent | 17ca3641eaad94f05d1c9f66593c67e425268050 (diff) | |
download | packages-420a64fe15922629a54e7d38cdedbf1fc86ee8ff.tar.gz packages-420a64fe15922629a54e7d38cdedbf1fc86ee8ff.tar.bz2 packages-420a64fe15922629a54e7d38cdedbf1fc86ee8ff.tar.xz packages-420a64fe15922629a54e7d38cdedbf1fc86ee8ff.zip |
experimental/elfutils: new package
Diffstat (limited to 'experimental/elfutils/extmatch.patch')
-rw-r--r-- | experimental/elfutils/extmatch.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/experimental/elfutils/extmatch.patch b/experimental/elfutils/extmatch.patch new file mode 100644 index 000000000..ea9d3653f --- /dev/null +++ b/experimental/elfutils/extmatch.patch @@ -0,0 +1,24 @@ +--- elfutils-0.176/src/elfcompress.c 2019-02-15 15:46:47.000000000 +0000 ++++ elfutils-0.176/src/elfcompress.c 2019-07-18 09:13:29.159806022 +0000 +@@ -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"), |