summaryrefslogtreecommitdiff
path: root/archivers/zip1/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-11-03 19:59:39 +0000
committerminskim <minskim@pkgsrc.org>2005-11-03 19:59:39 +0000
commitbd2f400ede83d59b93ba0f0c710a4661d23c5da5 (patch)
treedd89d4b6a0e29ac04c718cec6c2332ca19998b98 /archivers/zip1/patches
parenta83d88938f8f8de4907974a29575aef5f8059e56 (diff)
downloadpkgsrc-bd2f400ede83d59b93ba0f0c710a4661d23c5da5.tar.gz
Do not declare a static function as non-static. This makes the
package build with gcc-4.
Diffstat (limited to 'archivers/zip1/patches')
-rw-r--r--archivers/zip1/patches/patch-ag12
1 files changed, 12 insertions, 0 deletions
diff --git a/archivers/zip1/patches/patch-ag b/archivers/zip1/patches/patch-ag
new file mode 100644
index 00000000000..ff5847b3071
--- /dev/null
+++ b/archivers/zip1/patches/patch-ag
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1 2005/11/03 19:59:39 minskim Exp $
+
+--- crypt.c.orig 1991-11-08 13:59:54.000000000 -0800
++++ crypt.c
+@@ -23,7 +23,6 @@
+ local int decrypt_byte OF((void));
+ local void update_keys OF((int c));
+ local void init_keys OF((char *passwd));
+- int zencode OF((int c));
+ local int zdecode OF((int c));
+
+ local ulg keys[3]; /* keys defining the pseudo random sequence */