summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools/fix-compat.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools/fix-compat.patch b/meta/recipes-devtools/squashfs-tools/squashfs-tools/fix-compat.patch
index d545146912..0ce7b4e8ce 100644
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools/fix-compat.patch
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools/fix-compat.patch
@@ -23,7 +23,7 @@ Index: squashfs-tools/mksquashfs.c
23=================================================================== 23===================================================================
24--- squashfs-tools.orig/mksquashfs.c 24--- squashfs-tools.orig/mksquashfs.c
25+++ squashfs-tools/mksquashfs.c 25+++ squashfs-tools/mksquashfs.c
26@@ -1286,6 +1286,10 @@ void write_dir(squashfs_inode *inode, st 26@@ -1261,6 +1261,10 @@ void write_dir(squashfs_inode *inode, st
27 dir_size + 3, directory_block, directory_offset, NULL, NULL, 27 dir_size + 3, directory_block, directory_offset, NULL, NULL,
28 dir, 0); 28 dir, 0);
29 29
@@ -50,9 +50,9 @@ Index: squashfs-tools/unsquashfs.c
50=================================================================== 50===================================================================
51--- squashfs-tools.orig/unsquashfs.c 51--- squashfs-tools.orig/unsquashfs.c
52+++ squashfs-tools/unsquashfs.c 52+++ squashfs-tools/unsquashfs.c
53@@ -38,6 +38,10 @@ 53@@ -42,6 +42,10 @@
54 #include <limits.h> 54 #include <sys/sysmacros.h>
55 #include <ctype.h> 55 #endif
56 56
57+#ifndef FNM_EXTMATCH 57+#ifndef FNM_EXTMATCH
58+#define FNM_EXTMATCH 0 58+#define FNM_EXTMATCH 0