pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/zsnes Only use the GNU PTH fix if GNU PTH is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6798d50b4ee2
branches:  trunk
changeset: 468250:6798d50b4ee2
user:      ben <ben%pkgsrc.org@localhost>
date:      Wed Feb 11 18:34:18 2004 +0000

description:
Only use the GNU PTH fix if GNU PTH is being used in the zsnes build.

diffstat:

 emulators/zsnes/distinfo         |  4 ++--
 emulators/zsnes/patches/patch-ad |  8 +++++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r f450cda300bc -r 6798d50b4ee2 emulators/zsnes/distinfo
--- a/emulators/zsnes/distinfo  Wed Feb 11 17:14:13 2004 +0000
+++ b/emulators/zsnes/distinfo  Wed Feb 11 18:34:18 2004 +0000
@@ -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 -r f450cda300bc -r 6798d50b4ee2 emulators/zsnes/patches/patch-ad
--- a/emulators/zsnes/patches/patch-ad  Wed Feb 11 17:14:13 2004 +0000
+++ b/emulators/zsnes/patches/patch-ad  Wed Feb 11 18:34:18 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index