head 1.8; access; symbols pkgsrc-2016Q1:1.7.0.102 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.100 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.98 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.96 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.94 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.92 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.90 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.88 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.86 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.84 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.82 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.80 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.78 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.76 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.74 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.72 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.70 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.68 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.66 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.64 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.62 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.60 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.58 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.56 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.54 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.52 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.50 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.48 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.46 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.44 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.42 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.40 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.38 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.36 pkgsrc-2008Q1:1.7.0.34 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.32 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.30 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.28 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.26 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.24 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.22 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.20 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.18 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.16 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.14 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.12 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.10 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.8 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.6 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.4 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.2 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.5.0.10 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.5.0.6 netbsd-1-6-1-base:1.5 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.4 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.1.1.1 netbsd-1-4-PATCH001:1.1.1.1 netbsd-1-4-RELEASE:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.8 date 2016.05.03.02.15.47; author mef; state dead; branches; next 1.7; commitid Iltow9njsf6KKY4z; 1.7 date 2004.03.09.23.30.40; author kristerw; state Exp; branches; next 1.6; 1.6 date 2004.03.08.03.04.36; author minskim; state dead; branches; next 1.5; 1.5 date 2002.03.15.04.59.16; author jmc; state Exp; branches; next 1.4; 1.4 date 2000.10.15.01.53.40; author jlam; state Exp; branches; next 1.3; 1.3 date 2000.03.26.08.29.25; author jlam; state Exp; branches; next 1.2; 1.2 date 99.11.17.23.06.22; author tron; state Exp; branches; next 1.1; 1.1 date 99.02.08.08.48.37; author frueauf; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.02.08.08.48.37; author frueauf; state Exp; branches; next ; desc @@ 1.8 log @(games/gnuchess) reove patches, sorry for separate commit. @ text @$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; @ 1.7 log @Make this package compile and work when not using native threads. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Update gnuchess to 5.07. Patch provided by Michal Pasternak in PR pkg/24700, and slightly modified by me. Changes: - New PGN parser handles annotated PGN when creating opening book - Additional command line options - gnuchessx script added - Added code for pondering and analysis mode - Added white/black commands for use with icsDrone - Command line options now follow GNU standards (./gnuchess --help) - Some optimisations added - Book may be stored in /usr/share/games/gnuchess/book.dat - Program no longer starts search from scratch every move - Fixed a potential buffer overflow in pgn.c. - General code cleanups, bug fixes, and probably introduction of new bugs, especially in pondering related code - The opening book is now looked for in /usr/lib/games/gnuchess/book.dat if it is not found in the working directory. - Changes for easing compilation with MSVC - Removed support for the Novag Universal Board. The recommended alternative is to use the winboard driver for this board, which is linked to on http://www.tim-mann.org/extensions.html - Bug fixes (as always) - Bug fixes (The infamous "illegal move" bug should be dead by now.) - Architecture independent binary book. Yes, you may now move your binary book around between little and big endian, 32 and 64 bit machines and it should not break. - Build system is now automake/autoconf, should ease porting gnuchess to your favorite strange architecture. (Hell, what about gnuchess on cellphones...?) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2002/03/15 04:59:16 jmc Exp $ d3 10 a12 20 --- Makefile.in.orig Fri Mar 15 04:46:43 2002 +++ Makefile.in Fri Mar 15 04:52:04 2002 @@@@ -43,7 +43,7 @@@@ prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ -LIBDIR = $(prefix)/lib +LIBDIR = $(prefix)/lib/gnuchess BINDIR = $(exec_prefix)/bin MANDIR = $(prefix)/man/man6 MANEXT = .6 @@@@ -63,7 +63,7 @@@@ # -DUNIVERSAL -- define for use with Novag Universal physical playing board. INTERFACE= -CFLAGS=-O3 -Winline -Wmissing-prototypes -funroll-loops -fomit-frame-pointer $(MACHINE) $(INTERFACE) +CFLAGS=@@CFLAGS@@ $(MACHINE) $(INTERFACE) -DLIBDIR=\"${LIBDIR}/\" # Not normally needed unless debugging or profiling. # Debugging @ 1.5 log @Check gcc version and for powerpc downgrade CFLAGS to just -O as anything above that causes bad code generation and core dumps. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2000/10/15 01:53:40 jlam Exp $ @ 1.4 log @Update to gnuchess-5.00nb1: add code to allow building of opening books in user-specified locations. Remove installation of default book...it's so small that it's pretty much useless anyway. See games/gnuchess-book-* for chess opening books for GNU Chess. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- Makefile.in.orig Sat Oct 23 11:43:36 1999 +++ Makefile.in d19 1 a19 1 +CFLAGS=-O3 -Winline -Wmissing-prototypes -funroll-loops -fomit-frame-pointer $(MACHINE) $(INTERFACE) -DLIBDIR=\"${LIBDIR}/\" @ 1.3 log @Update gnuchess to 5.00. From the GNU chess web page: Version 5.00 is the current release. Version 5.00 shares no code with versions 1.x through 4.x. The major motivation for this release is to simplify chess code making it more pedantically accessible, use modern data structures, make it easy to modify by less skilled programmers, and increase understandability to non-programmer, skilled chess experts. @ text @d4 1 a4 1 +++ Makefile.in Thu Feb 17 23:11:58 2000 d10 1 a10 1 +LIBDIR = $(prefix)/share/gnuchess @ 1.2 log @Update "gnuchess" package to version 4.0.pl80: - bug in gnuan (difftime was one parameter, should be two.) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 1999/02/08 08:48:37 frueauf Exp $ d3 20 a22 18 --- dspcom.c.orig Mon Sep 28 08:41:19 1998 +++ dspcom.c Thu Dec 10 23:40:57 1998 @@@@ -1099,14 +1099,14 @@@@ #ifdef NONDSP s[0] = sx[0] = '\0'; while (!sx[0]) - (void) gets (sx); + (void) fgets (sx, 80, stdin); sx[79] = '\0'; #else fflush (stdout); #ifdef MSDOS s[0] = '\0'; eof = ( gets (sx) == NULL ); #else eof = ( getstr (sx) == ERR ); #endif #endif sscanf (sx, "%s", s); @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- ../../gnuchess-4.0.pl79/src/dspcom.c Mon Sep 28 08:41:19 1998 +++ ./src/dspcom.c Thu Dec 10 23:40:57 1998 @ 1.1.1.1 log @Initial import of gnuchess-4.0.79, the "classic" GNU chess. @ text @@