summaryrefslogtreecommitdiff
path: root/pkg/unzip/patch/0003-include-unistd.h-for-kFreeBSD.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-06-15 18:15:50 -0700
committerMichael Forney <mforney@mforney.org>2019-06-15 18:20:20 -0700
commit52b1cb8097da659fc1fd84cb4d2e6868d8abee10 (patch)
tree46926a253eaac1a683f437fde6421acdef9e5151 /pkg/unzip/patch/0003-include-unistd.h-for-kFreeBSD.patch
parentce9ba02aa51a3c0b1cfbb91b056e6075c8ded619 (diff)
unzip: Update to 6.0-23 patches from Debian
Diffstat (limited to 'pkg/unzip/patch/0003-include-unistd.h-for-kFreeBSD.patch')
-rw-r--r--pkg/unzip/patch/0003-include-unistd.h-for-kFreeBSD.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/unzip/patch/0003-include-unistd.h-for-kFreeBSD.patch b/pkg/unzip/patch/0003-include-unistd.h-for-kFreeBSD.patch
new file mode 100644
index 00000000..f511f7f1
--- /dev/null
+++ b/pkg/unzip/patch/0003-include-unistd.h-for-kFreeBSD.patch
@@ -0,0 +1,24 @@
+From d27f3482cf46603d05d46bbc290ce6bb0f7ff210 Mon Sep 17 00:00:00 2001
+From: Aurelien Jarno <aurel32@debian.org>
+Date: Sat, 15 Jun 2019 18:13:11 -0700
+Subject: [PATCH] #include <unistd.h> for kFreeBSD
+
+---
+ unix/unxcfg.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/unix/unxcfg.h b/unix/unxcfg.h
+index e39b283..c98c3b9 100644
+--- 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;
+--
+2.20.1
+