diff options
Diffstat (limited to 'archivers/zoo/patches/patch-ag')
-rw-r--r-- | archivers/zoo/patches/patch-ag | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/archivers/zoo/patches/patch-ag b/archivers/zoo/patches/patch-ag new file mode 100644 index 00000000000..23ec0e6f2b3 --- /dev/null +++ b/archivers/zoo/patches/patch-ag @@ -0,0 +1,21 @@ +$NetBSD: patch-ag,v 1.1 1999/11/12 05:17:21 hubertf Exp $ + +--- ./zooadd2.c Sat Jul 20 01:38:10 1991 ++++ /usr/pkgsrc/archivers/zoo/work.i386.unpatched/zooadd2.c Fri Nov 12 06:19:39 1999 +@@ -258,12 +258,15 @@ + register struct direntry *direntry; + { + #ifdef GETTZ ++ long mstonix(); + long gettz(); ++ long t; + #endif + direntry->zoo_tag = ZOO_TAG; + direntry->type = 2; /* type is now 2 */ + #ifdef GETTZ +- direntry->tz = gettz() / (15 * 60); /* seconds => 15-min units */ ++ t = mstonix (direntry->date, direntry->time); ++ direntry->tz = gettz(t) / (15 * 60); /* seconds => 15-min units */ + #else + direntry->tz = NO_TZ; /* timezone unknown */ + #endif |