summaryrefslogtreecommitdiff
path: root/emulators/snes9x
diff options
context:
space:
mode:
authorwiz <wiz>2001-03-13 13:46:56 +0000
committerwiz <wiz>2001-03-13 13:46:56 +0000
commit06a0f32a390e5f014c612beebcea0965d4c03c9d (patch)
tree086d2fa406fbcba10afc0ec4909afc8841a39183 /emulators/snes9x
parentb2149a73a2d512c0725b6f7c425ab563866a9ac0 (diff)
downloadpkgsrc-06a0f32a390e5f014c612beebcea0965d4c03c9d.tar.gz
Fix compilation on -current after 2001/01/18 (since zconf.h doesn't
defined OF() anymore). Fixes pkg/12255 by Rui-Xiang Guo.
Diffstat (limited to 'emulators/snes9x')
-rw-r--r--emulators/snes9x/files/patch-sum18
-rw-r--r--emulators/snes9x/patches/patch-ah19
-rw-r--r--emulators/snes9x/patches/patch-ai20
3 files changed, 49 insertions, 8 deletions
diff --git a/emulators/snes9x/files/patch-sum b/emulators/snes9x/files/patch-sum
index 22d728b50f2..bdbc720894e 100644
--- a/emulators/snes9x/files/patch-sum
+++ b/emulators/snes9x/files/patch-sum
@@ -1,9 +1,11 @@
-$Id: patch-sum,v 1.3 2000/11/16 02:27:05 wiz Exp $
+$Id: patch-sum,v 1.4 2001/03/13 13:46:56 wiz Exp $
-MD5 (patch-aa) = c956a4c089ee4c5d6fe59702360767d2
-MD5 (patch-ab) = 626e8bc7e260ff83708e13ef54e61cdd
-MD5 (patch-ac) = ad48bfa7a5b65c581c67ababd09cca99
-MD5 (patch-ad) = 79cf18843562488e62fdbaf503dd50c4
-MD5 (patch-ae) = 2ce2c9ae1a0abb2c42a4a4139b6d1a8e
-MD5 (patch-af) = 91cf512e0262622edc62d30e45e5d76a
-MD5 (patch-ag) = 466a9ed4c567fa7e69615eb3bbc754b9
+SHA1 (patch-aa) = 7dcd4e19e5b79d5504f138c204bfd9a6a13f2e44
+SHA1 (patch-ab) = 24d7428994478da9a185227b63be03ebccdb88c0
+SHA1 (patch-ac) = 4998ed2fcc6f8c69696d04c4792d281e6a88c186
+SHA1 (patch-ad) = d6996524a0ac7dc4313979c7d6bfdfa68a8818d2
+SHA1 (patch-ae) = b197f858ed7c3e23ea0bc808f2114bb11f68b6c2
+SHA1 (patch-af) = 9de3b9420fcef7217561afa1bd3c4be234588a19
+SHA1 (patch-ag) = 23660a32dd160870117eee49dec7e3b9b3767e66
+SHA1 (patch-ah) = 60bd35e51faca36fbd8d8d6354487554af17fe7a
+SHA1 (patch-ai) = 7243ef63d42a3d867bdb8611f01d7090f65f51ef
diff --git a/emulators/snes9x/patches/patch-ah b/emulators/snes9x/patches/patch-ah
new file mode 100644
index 00000000000..73a12f5b4b5
--- /dev/null
+++ b/emulators/snes9x/patches/patch-ah
@@ -0,0 +1,19 @@
+$NetBSD: patch-ah,v 1.1 2001/03/13 13:46:57 wiz Exp $
+
+--- unzip/unz.h.orig Wed Aug 25 07:52:56 1999
++++ unzip/unz.h
+@@ -11,6 +11,14 @@
+ ---------------------------------------------------------------------------*/
+
+ #include "zlib.h"
++/* removed in NetBSD around 2001/01/18 */
++#ifndef OF
++# ifdef STDC
++# define OF(args) args
++# else
++# define OF(args) ()
++# endif
++#endif
+
+ /*****************************************/
+ /* Predefined, Machine-specific Macros */
diff --git a/emulators/snes9x/patches/patch-ai b/emulators/snes9x/patches/patch-ai
new file mode 100644
index 00000000000..dc309f75eb0
--- /dev/null
+++ b/emulators/snes9x/patches/patch-ai
@@ -0,0 +1,20 @@
+$NetBSD: patch-ai,v 1.1 2001/03/13 13:46:57 wiz Exp $
+
+--- unzip/unzip.h.orig Wed Aug 25 07:52:56 1999
++++ unzip/unzip.h
+@@ -49,6 +49,15 @@
+ #include "zlib.h"
+ #endif
+
++/* removed in NetBSD around 2001/01/18 */
++#ifndef OF /* function prototypes */
++# ifdef STDC
++# define OF(args) args
++# else
++# define OF(args) ()
++# endif
++#endif
++
+ #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP)
+ /* like the STRICT of WIN32, we define a pointer that cannot be converted
+ from (void*) without cast */