1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-18 11:10:32 -04:00
ports/devel/elfutils/files/patch-src_elfcompress.c
Conrad Meyer dce71a4e6d devel/elfutils: Update to latest 0.168
Update to latest upstream version, 0.168.

0.168 removes the eu-ld utility and adds the eu-elfcompress utility.

Requested by:	emaste@, kib@
Approved by:	bapt@
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D9240
2017-01-21 00:38:30 +00:00

23 lines
639 B
C

--- src/elfcompress.c.orig 2016-12-28 01:32:01.000000000 -0800
+++ src/elfcompress.c 2017-01-18 16:21:03.680565000 -0800
@@ -135,7 +135,10 @@
if (type == T_UNSET)
type = T_COMPRESS_ZLIB;
if (patterns == NULL)
- add_pattern (".?(z)debug*");
+ {
+ add_pattern (".debug*");
+ add_pattern (".zdebug*");
+ }
break;
case ARGP_KEY_NO_ARGS:
@@ -162,7 +165,7 @@
struct section_pattern *pattern = patterns;
while (pattern != NULL)
{
- if (fnmatch (pattern->pattern, name, FNM_EXTMATCH) == 0)
+ if (fnmatch (pattern->pattern, name, 0) == 0)
return true;
pattern = pattern->next;
}