summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-01-29 10:53:41 +0000
committerwiz <wiz@pkgsrc.org>2002-01-29 10:53:41 +0000
commitc283c733e9bf19c0c22617a8ca4ca66d97ddff39 (patch)
treeb275f6a0aa601ab2afe37c007e5a870f0cffd2ee
parentcd949a3375f1ac84b43e1d6f8ef17c3a10543ef7 (diff)
downloadpkgsrc-c283c733e9bf19c0c22617a8ca4ca66d97ddff39.tar.gz
Add sound support, provided by Ben Collver in pkg/14375.
Bump to 1.337nb1.
-rw-r--r--emulators/zsnes/Makefile3
-rw-r--r--emulators/zsnes/distinfo5
-rw-r--r--emulators/zsnes/patches/patch-ab8
-rw-r--r--emulators/zsnes/patches/patch-ad13
4 files changed, 25 insertions, 4 deletions
diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile
index c12395f454c..b52daf9bdf8 100644
--- a/emulators/zsnes/Makefile
+++ b/emulators/zsnes/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2001/10/24 22:10:54 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2002/01/29 10:53:41 wiz Exp $
#
DISTNAME= zsnes1337src
PKGNAME= zsnes-1.337
+PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://prdownloads.sourceforge.net/zsnes/
diff --git a/emulators/zsnes/distinfo b/emulators/zsnes/distinfo
index 7e2dc675edd..083892fa902 100644
--- a/emulators/zsnes/distinfo
+++ b/emulators/zsnes/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/10/06 20:00:42 wiz Exp $
+$NetBSD: distinfo,v 1.2 2002/01/29 10:53:42 wiz Exp $
SHA1 (zsnes1337src.tar.gz) = 618bced128552be96c5125dfd9f23b77d2ebfbf4
Size (zsnes1337src.tar.gz) = 911599 bytes
SHA1 (patch-aa) = 17cc135e3265cfdcebf8a18df403c050919c4f12
-SHA1 (patch-ab) = 733133c55fe222bb1c01533466598579a6021ce0
+SHA1 (patch-ab) = 14ff74bab8cfc2ab1666bbcc6ebabfff62eb6be1
SHA1 (patch-ac) = dd55e1870ed857bde60b36b3ac5cdd5f10be3d4a
+SHA1 (patch-ad) = eb9456f0332c5ad56789f4784b07bcf9a7335599
diff --git a/emulators/zsnes/patches/patch-ab b/emulators/zsnes/patches/patch-ab
index 44404e2d0cd..edbde7abbe3 100644
--- a/emulators/zsnes/patches/patch-ab
+++ b/emulators/zsnes/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/10/06 20:00:42 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2002/01/29 10:53:42 wiz Exp $
--- gblhdr.h.orig Fri Sep 28 21:44:12 2001
+++ gblhdr.h
@@ -15,3 +15,9 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/10/06 20:00:42 wiz Exp $
#include <netdb.h>
#include <utime.h>
#include <zlib.h>
+@@ -115,3 +115,5 @@
+ #include <sys/filio.h>
+ #endif
+ #endif
++
++ #include <pthread.h>
diff --git a/emulators/zsnes/patches/patch-ad b/emulators/zsnes/patches/patch-ad
new file mode 100644
index 00000000000..b5bd44b850f
--- /dev/null
+++ b/emulators/zsnes/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2002/01/29 10:53:42 wiz Exp $
+
+--- linux/sw_draw.c.orig Thu Sep 20 11:08:10 2001
++++ linux/sw_draw.c
+@@ -166,6 +166,8 @@
+ {
+ DWORD i,j,color32;
+
++ pthread_yield_np();
++
+ NGNoTransp = 0; // Set this value to 1 within the appropriate
+ // video mode if you want to add a custom
+ // transparency routine or hardware