diff options
Diffstat (limited to 'filesystems/squashfs/patches/patch-fnm__extmatch.h')
-rw-r--r-- | filesystems/squashfs/patches/patch-fnm__extmatch.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/filesystems/squashfs/patches/patch-fnm__extmatch.h b/filesystems/squashfs/patches/patch-fnm__extmatch.h new file mode 100644 index 00000000000..92b37935fb0 --- /dev/null +++ b/filesystems/squashfs/patches/patch-fnm__extmatch.h @@ -0,0 +1,15 @@ +$NetBSD: patch-fnm__extmatch.h,v 1.1 2016/09/09 15:40:17 scole Exp $ +Define FNM_EXTMATCH if not already defined + +--- fnm_extmatch.h.orig 2016-09-09 14:49:14.000000000 +0000 ++++ fnm_extmatch.h +@@ -0,0 +1,9 @@ ++/* ++ * this is defined in external/gpl[23]/gnulib various fnmatch_.h ++ * with _GNU_SOURCE or various _POSIX_C_SOURCE but not ++ * pksrgc/pkgtools/libnbcompat pkg/include/nbcompat/fnmatch.h or ++ * usr/include/fnmatch.h, what is best way to fix? ++ */ ++#ifndef FNM_EXTMATCH ++# define FNM_EXTMATCH (1 << 5) /* Use ksh-like extended matching. */ ++#endif |