summaryrefslogtreecommitdiff
path: root/data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-06-18 11:38:22 -1000
committerSam Bingner <sam@bingner.com>2019-06-18 11:38:22 -1000
commit6a336ff55fd9e31188a04f8ee848309653135219 (patch)
tree5ccc0cca0eb8b3b3670c8d9b658873ed7ce48c68 /data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch
parent193f32e39e93ea855bda21c551362d9117160ba3 (diff)
Update unzip to work with new ipsw files
Diffstat (limited to 'data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch')
-rw-r--r--data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch b/data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch
new file mode 100644
index 000000000..6f06191ff
--- /dev/null
+++ b/data/unzip/debian/patches/03-include-unistd-for-kfreebsd.patch
@@ -0,0 +1,15 @@
+From: Aurelien Jarno <aurel32@debian.org>
+Subject: #include <unistd.h> for kFreeBSD
+Bug-Debian: https://bugs.debian.org/340693
+X-Debian-version: 5.52-8
+
+--- a/unix/unxcfg.h
++++ b/unix/unxcfg.h
+@@ -52,6 +52,7 @@
+
+ #include <sys/types.h> /* off_t, time_t, dev_t, ... */
+ #include <sys/stat.h>
++#include <unistd.h>
+
+ #ifdef NO_OFF_T
+ typedef long zoff_t;