summaryrefslogtreecommitdiff
path: root/archivers/zip/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/zip/patches/patch-ad')
-rw-r--r--archivers/zip/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/archivers/zip/patches/patch-ad b/archivers/zip/patches/patch-ad
new file mode 100644
index 00000000000..1dde9a14791
--- /dev/null
+++ b/archivers/zip/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2002/04/18 16:42:31 yyamano Exp $
+
+--- zipcloak.c.orig Sat Mar 2 19:39:05 2002
++++ zipcloak.c
+@@ -55,7 +55,7 @@
+ char *msg; /* message about how it happened */
+ {
+ if (PERR(code)) perror("zipcloak error");
+- fprintf(stderr, "zipcloak error: %s (%s)\n", errors[code-1], msg);
++ fprintf(stderr, "zipcloak error: %s (%s)\n", ziperrors[code-1], msg);
+ if (tempzf != NULL) fclose(tempzf);
+ if (tempzip != NULL) {
+ destroy(tempzip);