summaryrefslogtreecommitdiff
path: root/repo/squashfs-tools/fix-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/squashfs-tools/fix-compat.patch')
-rw-r--r--repo/squashfs-tools/fix-compat.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/repo/squashfs-tools/fix-compat.patch b/repo/squashfs-tools/fix-compat.patch
new file mode 100644
index 0000000..8a5ff06
--- /dev/null
+++ b/repo/squashfs-tools/fix-compat.patch
@@ -0,0 +1,12 @@
+--- a/squashfs-tools/action.c
++++ b/squashfs-tools/action.c
+@@ -1905,6 +1905,9 @@
+ return 1;
+ }
+
++#ifndef FNM_EXTMATCH
++#define FNM_EXTMATCH 0
++#endif
+
+ TEST_FN(name, ACTION_ALL_LNK, \
+ return fnmatch(atom->argv[0], action_data->name,