summaryrefslogtreecommitdiff
path: root/package/zip/patches/patch-timezone_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-10-05 20:54:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-10-05 20:54:14 +0200
commita878bba25483a62161841561bea4968d5d0e0094 (patch)
tree4669bab82f93eedac3268ba6c938972ad89d0b83 /package/zip/patches/patch-timezone_c
parente8188d2023ae388d57f1eeb1a450a298eb3bc26b (diff)
zip: fix gcc 14.x issue
Diffstat (limited to 'package/zip/patches/patch-timezone_c')
-rw-r--r--package/zip/patches/patch-timezone_c10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/zip/patches/patch-timezone_c b/package/zip/patches/patch-timezone_c
new file mode 100644
index 000000000..9f549df5c
--- /dev/null
+++ b/package/zip/patches/patch-timezone_c
@@ -0,0 +1,10 @@
+--- zip30.orig/timezone.c 2004-11-13 09:35:12.000000000 +0100
++++ zip30/timezone.c 2025-10-05 03:57:25.603996335 +0200
+@@ -41,6 +41,7 @@
+ #include "timezone.h"
+ #include <ctype.h>
+ #include <errno.h>
++#include <time.h>
+
+ #ifdef IZTZ_DEFINESTDGLOBALS
+ long timezone = 0;