diff options
author | minskim <minskim@pkgsrc.org> | 2004-06-15 04:24:30 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-06-15 04:24:30 +0000 |
commit | dc53b559240ae291f52cede3c8810cb49e64dc8b (patch) | |
tree | f47cba7d919390b35daf80bb384d3ba70cb9a216 /archivers | |
parent | 8ff390a3338a71802f34732331cef016e1484bee (diff) | |
download | pkgsrc-dc53b559240ae291f52cede3c8810cb49e64dc8b.tar.gz |
Make this package build on Linux.
- Include time.h to use struct tm.
- Remove hardcoded /usr/include/varargs.h from makefile dependency.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/zoo/distinfo | 6 | ||||
-rw-r--r-- | archivers/zoo/patches/patch-ac | 19 | ||||
-rw-r--r-- | archivers/zoo/patches/patch-ae | 14 |
3 files changed, 27 insertions, 12 deletions
diff --git a/archivers/zoo/distinfo b/archivers/zoo/distinfo index 9d7cf143bd8..d633d7895cf 100644 --- a/archivers/zoo/distinfo +++ b/archivers/zoo/distinfo @@ -1,12 +1,12 @@ -$NetBSD: distinfo,v 1.3 2003/01/19 06:46:23 salo Exp $ +$NetBSD: distinfo,v 1.4 2004/06/15 04:24:30 minskim Exp $ SHA1 (zoo-2.10pl1.tar.gz) = c02d96148ee57df01596d0c8d07a3e327b821600 Size (zoo-2.10pl1.tar.gz) = 172096 bytes SHA1 (patch-aa) = e1f4d6814397cc37a814afea2547833ff4ad0a0f SHA1 (patch-ab) = 0a67f794bc2ff9963ae2ca268f21976a7e09eacd -SHA1 (patch-ac) = 00652ccb6107dbb92112ea732475a3fd86523bc8 +SHA1 (patch-ac) = 693d08e0a0edff5eeeb2b85dcdb309ef72c7467c SHA1 (patch-ad) = fb76a04c9cfef61b1059c9c227faf036b7b2c205 -SHA1 (patch-ae) = d78c9ef83c699448b16264d6f48b84c885b610cb +SHA1 (patch-ae) = 9fd888a05d9866b9b2554d2bc41170e9ee68c226 SHA1 (patch-af) = f1489b0896a73df823f5623812a879a6bc47d572 SHA1 (patch-ag) = 05b0a774e7aea3137917b2c714b46012fd401f6d SHA1 (patch-ah) = af3d79f9dd42f080863c6b672d9ca504c2bf79df diff --git a/archivers/zoo/patches/patch-ac b/archivers/zoo/patches/patch-ac index 536fb836751..d0feaa46b19 100644 --- a/archivers/zoo/patches/patch-ac +++ b/archivers/zoo/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.2 2003/01/19 06:46:24 salo Exp $ +$NetBSD: patch-ac,v 1.3 2004/06/15 04:24:30 minskim Exp $ ---- ./makefile Tue Jul 16 17:52:08 1991 -+++ /usr/pkgsrc/archivers/zoo/work.i386.unpatched/makefile Fri Nov 12 06:19:40 1999 +--- makefile.orig 1991-07-16 10:52:08.000000000 -0500 ++++ makefile @@ -18,13 +18,13 @@ MAKE = make # needed for some systems e.g. older BSD @@ -20,7 +20,7 @@ $NetBSD: patch-ac,v 1.2 2003/01/19 06:46:24 salo Exp $ #List of all object files created for Zoo ZOOOBJS = addbfcrc.o addfname.o basename.o comment.o crcdefs.o \ -@@ -67,7 +67,7 @@ +@@ -67,7 +67,7 @@ help : @echo "lint_turboc: Run lint under **IX for checking Turbo C/MSDOS code" # install alpha zoo as "tzoo" @@ -29,7 +29,7 @@ $NetBSD: patch-ac,v 1.2 2003/01/19 06:46:24 salo Exp $ mv zoo $(DESTDIR)/tzoo # install beta zoo as "bzoo" -@@ -75,8 +75,9 @@ +@@ -75,8 +75,9 @@ inst_beta: mv zoo $(DESTDIR)/bzoo # install production zoo as "zoo" @@ -41,3 +41,12 @@ $NetBSD: patch-ac,v 1.2 2003/01/19 06:46:24 salo Exp $ # executable targets TARGETS = zoo fiz +@@ -235,7 +236,7 @@ parse.o: /usr/include/stdio.h assert.h o + parse.o: zoofns.h zooio.h + portable.o: /usr/include/stdio.h assert.h debug.h machine.h options.h + portable.o: portable.h various.h zoo.h zoofns.h zooio.h +-prterror.o: /usr/include/stdio.h /usr/include/varargs.h options.h various.h ++prterror.o: /usr/include/stdio.h options.h various.h + prterror.o: zoofns.h zooio.h + sysv.o: /usr/include/sys/stat.h /usr/include/sys/types.h /usr/include/time.h + sysv.o: nixmode.i nixtime.i diff --git a/archivers/zoo/patches/patch-ae b/archivers/zoo/patches/patch-ae index 1e5760fad59..5ad7514d237 100644 --- a/archivers/zoo/patches/patch-ae +++ b/archivers/zoo/patches/patch-ae @@ -1,8 +1,14 @@ -$NetBSD: patch-ae,v 1.1 1999/11/12 05:17:21 hubertf Exp $ +$NetBSD: patch-ae,v 1.2 2004/06/15 04:24:30 minskim Exp $ ---- ./nixtime.i Tue Jul 16 17:53:46 1991 -+++ /usr/pkgsrc/archivers/zoo/work.i386.unpatched/nixtime.i Fri Nov 12 06:19:38 1999 -@@ -52,7 +52,8 @@ +--- nixtime.i.orig 1991-07-16 10:53:46.000000000 -0500 ++++ nixtime.i +@@ -1,3 +1,5 @@ ++#include <time.h> ++ + #ifndef LINT + static char nixtimeid[]="@(#) nixtime.i 2.3 88/01/24 12:49:28"; + #endif /* LINT */ +@@ -52,7 +54,8 @@ unsigned int date, time; long mstonix(); long gettz(); long utimbuf[2]; |