From 64a306e98ba02fa007e6fa4edf3f7a4cbe11a512 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 11 Feb 2004 18:34:18 +0000 Subject: Only use the GNU PTH fix if GNU PTH is being used in the zsnes build. --- emulators/zsnes/distinfo | 4 ++-- emulators/zsnes/patches/patch-ad | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'emulators') 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 -- cgit v1.2.3