pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/gnuchess Make this package compile and work when...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a51c0547c816
branches: trunk
changeset: 470514:a51c0547c816
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Tue Mar 09 23:30:40 2004 +0000
description:
Make this package compile and work when not using native threads.
diffstat:
games/gnuchess/Makefile | 3 ++-
games/gnuchess/distinfo | 3 ++-
games/gnuchess/patches/patch-aa | 12 ++++++++++++
3 files changed, 16 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 0aa83e74b827 -r a51c0547c816 games/gnuchess/Makefile
--- a/games/gnuchess/Makefile Tue Mar 09 23:19:19 2004 +0000
+++ b/games/gnuchess/Makefile Tue Mar 09 23:30:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/03/08 06:03:10 minskim Exp $
+# $NetBSD: Makefile,v 1.23 2004/03/09 23:30:40 kristerw Exp $
# FreeBSD Id: Makefile,v 1.6 1999/01/27 07:41:12 fenner Exp
#
@@ -37,4 +37,5 @@
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/README ${DOCDIR}
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 0aa83e74b827 -r a51c0547c816 games/gnuchess/distinfo
--- a/games/gnuchess/distinfo Tue Mar 09 23:19:19 2004 +0000
+++ b/games/gnuchess/distinfo Tue Mar 09 23:30:40 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.5 2004/03/08 03:04:36 minskim Exp $
+$NetBSD: distinfo,v 1.6 2004/03/09 23:30:40 kristerw Exp $
SHA1 (gnuchess-5.07.tar.gz) = 7dbaf957bfea9cf37fe393e1fec7306de0162a16
Size (gnuchess-5.07.tar.gz) = 234542 bytes
+SHA1 (patch-aa) = 417c8ca61142d08c827d2ca760b5ffb0c1988099
diff -r 0aa83e74b827 -r a51c0547c816 games/gnuchess/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/gnuchess/patches/patch-aa Tue Mar 09 23:30:40 2004 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.7 2004/03/09 23:30:40 kristerw Exp $
+
+--- src/iterate.c.orig Tue Mar 9 23:14:23 2004
++++ src/iterate.c Tue Mar 9 23:14:54 2004
+@@ -192,6 +192,7 @@
+ }
+ while (!(flags & TIMEOUT))
+ {
++ sched_yield();
+ if (score > MATE-255)
+ {
+ RootAlpha = score-1;
Home |
Main Index |
Thread Index |
Old Index