diff options
Diffstat (limited to 'archivers/zip1/patches')
-rw-r--r-- | archivers/zip1/patches/patch-aa | 24 | ||||
-rw-r--r-- | archivers/zip1/patches/patch-af | 15 |
2 files changed, 31 insertions, 8 deletions
diff --git a/archivers/zip1/patches/patch-aa b/archivers/zip1/patches/patch-aa index 953bcfc0304..c68f1ec1a92 100644 --- a/archivers/zip1/patches/patch-aa +++ b/archivers/zip1/patches/patch-aa @@ -1,8 +1,16 @@ -$NetBSD: patch-aa,v 1.3 2004/11/23 02:42:10 tv Exp $ +$NetBSD: patch-aa,v 1.4 2005/10/03 20:34:56 joerg Exp $ ---- fileio.c.orig Sat Aug 29 21:51:00 1992 +--- fileio.c.orig 1992-08-29 21:51:00.000000000 +0000 +++ fileio.c -@@ -59,16 +59,6 @@ +@@ -38,7 +38,6 @@ + # define MATCH dosmatch + # endif /* ?OS2 */ + #else /* !MSDOS */ +- extern int errno; /* error number from system functions */ + # ifdef VMS + # define RMDIR + # define link rename +@@ -59,16 +58,6 @@ #endif /* ?VMS */ @@ -19,7 +27,7 @@ $NetBSD: patch-aa,v 1.3 2004/11/23 02:42:10 tv Exp $ #ifndef EXPORT # ifdef MSVMS # ifdef MSDOS -@@ -77,7 +67,13 @@ +@@ -77,7 +66,13 @@ # define getch() getc(stderr) # endif /* ?MSDOS */ # else /* !MSVMS */ @@ -34,7 +42,7 @@ $NetBSD: patch-aa,v 1.3 2004/11/23 02:42:10 tv Exp $ # ifdef CONVEX # include <sys/termios.h> # include <sgtty.h> -@@ -99,11 +95,16 @@ +@@ -99,11 +94,16 @@ # define GTTY gtty # define STTY stty # endif /* ?TERMIO */ @@ -51,7 +59,7 @@ $NetBSD: patch-aa,v 1.3 2004/11/23 02:42:10 tv Exp $ # endif /* ?MSVMS */ #endif /* !EXPORT */ -@@ -197,6 +198,9 @@ +@@ -197,6 +197,9 @@ #endif /* !UTIL */ @@ -61,7 +69,7 @@ $NetBSD: patch-aa,v 1.3 2004/11/23 02:42:10 tv Exp $ /* Library functions not in (most) header files */ char *mktemp OF((char *)); int link OF((char *, char *)); -@@ -207,6 +211,7 @@ int unlink OF((char *)); +@@ -207,6 +210,7 @@ int unlink OF((char *)); * parameter is an unsigned long. */ #endif /* !CONVEX */ @@ -69,7 +77,7 @@ $NetBSD: patch-aa,v 1.3 2004/11/23 02:42:10 tv Exp $ #ifndef UTIL /* the companion #endif is a bit of ways down ... */ -@@ -215,11 +220,15 @@ int unlink OF((char *)); +@@ -215,11 +219,15 @@ int unlink OF((char *)); int utime OF((char *, time_t *)); #endif /* !__TURBOC__ */ #ifndef MSDOS diff --git a/archivers/zip1/patches/patch-af b/archivers/zip1/patches/patch-af new file mode 100644 index 00000000000..2d3b1927f20 --- /dev/null +++ b/archivers/zip1/patches/patch-af @@ -0,0 +1,15 @@ +$NetBSD: patch-af,v 1.1 2005/10/03 20:34:56 joerg Exp $ + +--- implode.h.orig 2005-07-22 15:19:13.000000000 +0000 ++++ implode.h +@@ -98,10 +98,6 @@ struct match + */ + + extern FDATA fd; /* file data */ +-#ifndef MSDOS +-extern int errno; /* system error code */ +-#endif /* MSDOS */ +- + extern MATCH *ma_buf; /* match info buffer */ + #define MA_BUFSIZE 512 + /* MA_BUFSIZE must be such that |