pkgsrc/archivers/zip/patches/patch-ac
yyamano 4a9a882428 Fix build on Darwin. All changes are taken from the latest betas of zip.
- Add MacOS X to version_local()
- unix/configure: Init LFLAGS1 to "", MacOS X doesn't like -s
- rename errors array to ziperrors to avoid MacOS X library clash
2002-04-18 16:42:30 +00:00

13 lines
363 B
Text

$NetBSD: patch-ac,v 1.1 2002/04/18 16:42:31 yyamano Exp $
--- zip.c.orig Sat Mar 2 19:38:04 2002
+++ zip.c
@@ -248,7 +248,7 @@
if (PERR(c))
perror("zip I/O error");
fflush(mesg);
- fprintf(stderr, "\nzip error: %s (%s)\n", errors[c-1], h);
+ fprintf(stderr, "\nzip error: %s (%s)\n", ziperrors[c-1], h);
}
if (tempzip != NULL)
{