summaryrefslogtreecommitdiff
path: root/pkg/unzip
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-06-15 18:21:16 -0700
committerMichael Forney <mforney@mforney.org>2019-06-15 18:21:16 -0700
commit5f74aa5e75a0442b86a26bcec9387af706a579f7 (patch)
tree0d2d0540548a0cc755784bcd404784cd48f256dd /pkg/unzip
parent52b1cb8097da659fc1fd84cb4d2e6868d8abee10 (diff)
unzip: Use `long long` with C99 compilers
Diffstat (limited to 'pkg/unzip')
-rw-r--r--pkg/unzip/patch/0022-Use-long-long-with-C99-compilers.patch25
-rw-r--r--pkg/unzip/ver2
2 files changed, 26 insertions, 1 deletions
diff --git a/pkg/unzip/patch/0022-Use-long-long-with-C99-compilers.patch b/pkg/unzip/patch/0022-Use-long-long-with-C99-compilers.patch
new file mode 100644
index 00000000..3fdd0295
--- /dev/null
+++ b/pkg/unzip/patch/0022-Use-long-long-with-C99-compilers.patch
@@ -0,0 +1,25 @@
+From f731106313a5edc37b5cbef93da6be855f24c238 Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Sat, 15 Jun 2019 18:16:56 -0700
+Subject: [PATCH] Use `long long` with C99 compilers
+
+---
+ unzpriv.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/unzpriv.h b/unzpriv.h
+index dc9eff5..8f18b87 100644
+--- a/unzpriv.h
++++ b/unzpriv.h
+@@ -1904,7 +1904,7 @@
+
+ #ifdef ZIP64_SUPPORT
+ # ifndef Z_UINT8_DEFINED
+-# if (defined(__GNUC__) || defined(__hpux) || defined(__SUNPRO_C))
++# if (defined(__GNUC__) || defined(__hpux) || defined(__SUNPRO_C) || __STDC_VERSION__ > 199901L)
+ typedef unsigned long long z_uint8;
+ # else
+ typedef unsigned __int64 z_uint8;
+--
+2.20.1
+
diff --git a/pkg/unzip/ver b/pkg/unzip/ver
index 8a1339c2..0e46c982 100644
--- a/pkg/unzip/ver
+++ b/pkg/unzip/ver
@@ -1 +1 @@
-6.0-23 r0
+6.0-23 r1