From c283c733e9bf19c0c22617a8ca4ca66d97ddff39 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 29 Jan 2002 10:53:41 +0000 Subject: Add sound support, provided by Ben Collver in pkg/14375. Bump to 1.337nb1. --- emulators/zsnes/Makefile | 3 ++- emulators/zsnes/distinfo | 5 +++-- emulators/zsnes/patches/patch-ab | 8 +++++++- emulators/zsnes/patches/patch-ad | 13 +++++++++++++ 4 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 emulators/zsnes/patches/patch-ad (limited to 'emulators/zsnes') 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 #include #include +@@ -115,3 +115,5 @@ + #include + #endif + #endif ++ ++ #include 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 -- cgit v1.2.3