Commit graph

12 commits

Author SHA1 Message Date
joerg
e46200844f Make sure read(2) has the prototype defined before using it. 2008-04-03 09:07:49 +00:00
minskim
e4cfc335e2 Make this package build with gcc-4. 2006-04-03 17:52:59 +00:00
kristerw
7c03d1427c Make this package compile and work when not using native threads. 2004-03-09 23:30:40 +00:00
minskim
14169d1b85 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...?)
2004-03-08 03:04:36 +00:00
jmc
c9faa63260 Check gcc version and for powerpc downgrade CFLAGS to just -O as anything above
that causes bad code generation and core dumps.
2002-03-15 04:59:16 +00:00
jlam
29c533f2d9 Apply a patch from Tim Mann's chess site that fixes the following problem:
The "edit" function is not implemented in GNU Chess 5.00. This means
    that XBoard's "Edit Position" feature will not work with it.  Loading a
    position from a file, loading a PGN game that starts from a nonstandard
    position, or playing an ICS wild game in Zippy mode, etc., will also not
    work.

Also fix the gnuchessx script to accept options and to pass them through to
the gnuchess binary.

Bump package version number to 5.00nb2.
2001-11-11 07:54:55 +00:00
dmcmahill
b936f83949 make this work on alpha. (had bogus endianness test) 2000-12-27 00:24:43 +00:00
jlam
3dbb17828a 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.
2000-10-15 01:53:39 +00:00
jlam
3bdfd7c9b9 Open the opening book with read permissions, not read/write. This fixes
an error where GNU Chess would go out of book on the first move when it
fails to open the book read/write, and concludes the book isn't there.
2000-10-01 04:24:27 +00:00
jlam
c1a19d047c 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.
2000-03-26 08:29:25 +00:00
tron
45bd4ad8fb Update "gnuchess" package to version 4.0.pl80:
- bug in gnuan (difftime was one parameter, should be two.)
1999-11-17 23:06:20 +00:00
frueauf
925edb8c04 Initial import of gnuchess-4.0.79, the "classic" GNU chess. 1999-02-08 08:48:37 +00:00