summaryrefslogtreecommitdiff
path: root/emulators/zsnes
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-02-11 18:34:18 +0000
committerben <ben@pkgsrc.org>2004-02-11 18:34:18 +0000
commit285c0383abe19bfe398b27a45452e58b63a3b768 (patch)
treebf4dd03475a7ca86ef5f571b96a6081a6f7fdd24 /emulators/zsnes
parent3ca181de2568a19688c978efd2b6592502a13c71 (diff)
downloadpkgsrc-285c0383abe19bfe398b27a45452e58b63a3b768.tar.gz
Only use the GNU PTH fix if GNU PTH is being used in the zsnes build.
Diffstat (limited to 'emulators/zsnes')
-rw-r--r--emulators/zsnes/distinfo4
-rw-r--r--emulators/zsnes/patches/patch-ad8
2 files changed, 7 insertions, 5 deletions
diff --git a/emulators/zsnes/distinfo b/emulators/zsnes/distinfo
index 03944b27743..96e783f1864 100644
--- a/emulators/zsnes/distinfo
+++ b/emulators/zsnes/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2002/08/31 00:15:41 wiz Exp $
+$NetBSD: distinfo,v 1.4 2004/02/11 18:34:18 ben Exp $
SHA1 (zsnes136src.tar.gz) = 40c053ac022c098bac5f7acc8413a464a1c7690d
Size (zsnes136src.tar.gz) = 901081 bytes
SHA1 (patch-ab) = 571dd1af70c06f1747a213c3d5326eff76049247
SHA1 (patch-ac) = 2573d074daac09b2cfc1369e86fe688f777ca1e6
-SHA1 (patch-ad) = ba510162c8370f3d5034169079033eeb6ee57a11
+SHA1 (patch-ad) = 8bbecedccc5a85dfe7d843f9de75a9498195eed6
diff --git a/emulators/zsnes/patches/patch-ad b/emulators/zsnes/patches/patch-ad
index 1241d3bc0ee..f3da181a991 100644
--- a/emulators/zsnes/patches/patch-ad
+++ b/emulators/zsnes/patches/patch-ad
@@ -1,12 +1,14 @@
-$NetBSD: patch-ad,v 1.2 2002/08/31 00:15:41 wiz Exp $
+$NetBSD: patch-ad,v 1.3 2004/02/11 18:34:18 ben Exp $
---- linux/sw_draw.c.orig Sun Jul 7 04:03:16 2002
+--- linux/sw_draw.c.orig 2002-07-06 19:03:16.000000000 -0700
+++ linux/sw_draw.c
-@@ -123,6 +123,8 @@ void sw_clearwin()
+@@ -123,6 +123,10 @@ void sw_clearwin()
void sw_drawwin()
{
++#ifdef _PTH_PTHREAD_H_
+ pthread_yield_np();
++#endif
+
NGNoTransp = 0; // Set this value to 1 within the appropriate
// video mode if you want to add a custom