commit: 5f74aa5e75a0442b86a26bcec9387af706a579f7
parent 52b1cb8097da659fc1fd84cb4d2e6868d8abee10
Author: Michael Forney <mforney@mforney.org>
Date: Sat, 15 Jun 2019 18:21:16 -0700
unzip: Use `long long` with C99 compilers
Diffstat:
2 files changed, 26 insertions(+), 1 deletion(-)
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
@@ -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
@@ -1 +1 @@
-6.0-23 r0
+6.0-23 r1