aboutsummaryrefslogtreecommitdiff
path: root/sysutils/squashfs-tools/files/patch-unsquashfs.c
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2021-03-21 22:07:33 +0000
committerChris Rees <crees@FreeBSD.org>2021-03-21 22:07:33 +0000
commite7031205f29d39ec09f34ee89b4d054992f36e2e (patch)
tree32943b998a8388a21a5c05028ff41de29cf0b8a7 /sysutils/squashfs-tools/files/patch-unsquashfs.c
parent444522b8ccd77fc3acf9f4fb8a53f66d1ac5f55b (diff)
downloadports-e7031205f29d39ec09f34ee89b4d054992f36e2e.tar.gz
ports-e7031205f29d39ec09f34ee89b4d054992f36e2e.zip
MFH: r568538
- Update to version 4.4 and unforbid - Add LZ4 and ZSTD compression support - Improve or drop option descriptions - Convert to option helpers while here PR: ports/254316 Security: 317487c6-85ca-11eb-80fa-14dae938ec40
Notes
Notes: svn path=/branches/2021Q1/; revision=568936
Diffstat (limited to 'sysutils/squashfs-tools/files/patch-unsquashfs.c')
-rw-r--r--sysutils/squashfs-tools/files/patch-unsquashfs.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sysutils/squashfs-tools/files/patch-unsquashfs.c b/sysutils/squashfs-tools/files/patch-unsquashfs.c
index c3da83377b97..6c0edc4e515d 100644
--- a/sysutils/squashfs-tools/files/patch-unsquashfs.c
+++ b/sysutils/squashfs-tools/files/patch-unsquashfs.c
@@ -1,17 +1,16 @@
---- unsquashfs.c.orig 2014-05-12 22:18:35 UTC
+--- unsquashfs.c.orig 2019-08-29 01:58:04 UTC
+++ unsquashfs.c
-@@ -31,7 +31,14 @@
- #include "unsquashfs_info.h"
+@@ -32,8 +32,13 @@
#include "stdarg.h"
+ #include "fnmatch_compat.h"
+#ifdef __linux__
#include <sys/sysinfo.h>
+ #include <sys/sysmacros.h>
+#endif
-+
+#ifdef __FreeBSD__
+#include <sys/sysctl.h>
+#endif
-+
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>