From bd2f400ede83d59b93ba0f0c710a4661d23c5da5 Mon Sep 17 00:00:00 2001 From: minskim Date: Thu, 3 Nov 2005 19:59:39 +0000 Subject: Do not declare a static function as non-static. This makes the package build with gcc-4. --- archivers/zip1/distinfo | 3 ++- archivers/zip1/patches/patch-ag | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 archivers/zip1/patches/patch-ag (limited to 'archivers/zip1') diff --git a/archivers/zip1/distinfo b/archivers/zip1/distinfo index b889e0252d3..0173bfa79bd 100644 --- a/archivers/zip1/distinfo +++ b/archivers/zip1/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2005/10/03 20:34:56 joerg Exp $ +$NetBSD: distinfo,v 1.7 2005/11/03 19:59:39 minskim Exp $ SHA1 (zip11.zip) = 71c84e82593d8ee3dd9189bf712524ceb93cc1bb RMD160 (zip11.zip) = 964753913220106757fcbb2d449efb4463a3275d @@ -12,3 +12,4 @@ SHA1 (patch-ac) = 0d0301ee6aafb271e97c45eac44164c7430ab084 SHA1 (patch-ad) = 63882bc4380af7b6f5277ba15a94b95f2dc68447 SHA1 (patch-ae) = 2c3db9728a7dc5f88349eb077b24f69794415956 SHA1 (patch-af) = ce00e3835e0dea4d4367db97c3f24f0b51f411b6 +SHA1 (patch-ag) = cade7fa5a127c093be08e0af9a1bd8d2204adcab 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 */ -- cgit v1.2.3