summaryrefslogtreecommitdiff
path: root/filesystems/squashfs/patches/patch-fnm__extmatch.h
diff options
context:
space:
mode:
authorscole <scole>2016-09-09 15:40:17 +0000
committerscole <scole>2016-09-09 15:40:17 +0000
commite07dda417ba6dd8be65d93927645cb96c6789cd4 (patch)
tree675fc933442afe339333083d22302ba278465466 /filesystems/squashfs/patches/patch-fnm__extmatch.h
parentf23bb22b02920f59843a39974f8685ea0cc51c66 (diff)
downloadpkgsrc-e07dda417ba6dd8be65d93927645cb96c6789cd4.tar.gz
PR pkg/51058
Add filesystem/squashfs 4.3 Squashfs is a highly compressed read-only filesystem for Linux. It uses either gzip/xz/lzo/lz4 compression to compress both files, inodes and directories. Inodes in the system are very small and all blocks are packed to minimise data overhead. Block sizes greater than 4K are supported up to a maximum of 1Mbytes (default block size 128K). Squashfs is intended for general read-only filesystem use, for archival use (i.e. in cases where a .tar.gz file may be used), and in constrained block device/memory systems (e.g. embedded systems) where low overhead is needed. This package contains tools to manipulate squashfs archive files.
Diffstat (limited to 'filesystems/squashfs/patches/patch-fnm__extmatch.h')
-rw-r--r--filesystems/squashfs/patches/patch-fnm__extmatch.h15
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