summaryrefslogtreecommitdiff
path: root/archivers/zoo/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/zoo/patches/patch-ai')
-rw-r--r--archivers/zoo/patches/patch-ai19
1 files changed, 19 insertions, 0 deletions
diff --git a/archivers/zoo/patches/patch-ai b/archivers/zoo/patches/patch-ai
new file mode 100644
index 00000000000..a70f04f1c00
--- /dev/null
+++ b/archivers/zoo/patches/patch-ai
@@ -0,0 +1,19 @@
+$NetBSD: patch-ai,v 1.1 1999/11/12 05:17:21 hubertf Exp $
+
+--- ./zoolist.c Sat Jul 20 00:57:27 1991
++++ /usr/pkgsrc/archivers/zoo/work.i386.unpatched/zoolist.c Fri Nov 12 06:19:38 1999
+@@ -539,10 +539,12 @@
+ {
+ long gettz();
+ int diff_tz; /* timezone difference */
++ long t;
+ if (file_tz == NO_TZ) /* if no timezone stored ..*/
+ printf (" "); /* .. just pad with blanks */
+ else {
+- diff_tz = (file_tz / 4) - (int) (gettz() / 3600);
++ time(&t);
++ diff_tz = (file_tz / 4) - (int) (gettz(t) / 3600);
+ if (diff_tz == 0)
+ printf (" "); /* print nothing if same */
+ else if (diff_tz > 0) /* else print signed difference */
+