summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-03-09 19:55:58 +0000
committerjlam <jlam@pkgsrc.org>2001-03-09 19:55:58 +0000
commit541a6edf8917c0db713b04edecbb79197cdf8183 (patch)
tree59db1da0ea13559678cf7ce3647f303b5a08187e
parentad61d36d42ff857caf85fd07ec452e03bb40ba41 (diff)
downloadpkgsrc-541a6edf8917c0db713b04edecbb79197cdf8183.tar.gz
Update crafty to 18.4. Changes from version 18.3:
18.4 recapture extension was left in SearchSMP() erroneously. this has now been protected by a #ifdef just like it was in Search(). bug in RepetitionCheck() was causing problems in SMP versions. The entire repetition list code was modified to clean this up. the problem was most noticable on things like fine #70. bug in LearnImportBook() confused the learn value sign, due to the other changes to make +=white all the time. opposite bishop scoring has been beefed up a bit to avoid these drawish endings.
-rw-r--r--games/crafty/Makefile4
-rw-r--r--games/crafty/files/md510
-rw-r--r--games/crafty/files/patch-sum4
-rw-r--r--games/crafty/patches/patch-aa24
-rw-r--r--games/crafty/pkg/DESCR2
5 files changed, 30 insertions, 14 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile
index 9fa63140f2f..8c441fd4806 100644
--- a/games/crafty/Makefile
+++ b/games/crafty/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2001/02/16 15:10:46 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2001/03/09 19:55:58 jlam Exp $
-DISTNAME= crafty-18.3
+DISTNAME= crafty-18.4
CATEGORIES= games
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/v18/ \
ftp://ftp.cis.uab.edu/pub/hyatt/ \
diff --git a/games/crafty/files/md5 b/games/crafty/files/md5
index 26cf4f84f79..52122fee57c 100644
--- a/games/crafty/files/md5
+++ b/games/crafty/files/md5
@@ -1,6 +1,6 @@
-$NetBSD: md5,v 1.5 2001/02/13 03:04:00 jlam Exp $
+$NetBSD: md5,v 1.6 2001/03/09 19:55:58 jlam Exp $
-MD5 (crafty-18.3/crafty-18.3.tar.gz) = d3ae6bbcec1153c86dbe3ef74f96674f
-MD5 (crafty-18.3/start.pgn) = 36185094abfee19d7d47af89bcb8969e
-MD5 (crafty-18.3/read.me) = ce9a5e014d23f36c2540628ba0dc1c0b
-MD5 (crafty-18.3/crafty.faq) = f744727e291b6dec7e7c69bb3586b6dd
+SHA1 (crafty-18.4/crafty-18.4.tar.gz) = 8c292b15370cf123a73bba959538a932ce6a6a93
+SHA1 (crafty-18.4/start.pgn) = 09de69c698feda46c1ebafa4fa8e908296c66701
+SHA1 (crafty-18.4/read.me) = 668f6942764d609aa42f119dd99cc28c71704534
+SHA1 (crafty-18.4/crafty.faq) = 7ba5cc19e190fdcf1697e3130c679ce5e50141db
diff --git a/games/crafty/files/patch-sum b/games/crafty/files/patch-sum
index 33d1001de99..7e6c4a6f018 100644
--- a/games/crafty/files/patch-sum
+++ b/games/crafty/files/patch-sum
@@ -1,3 +1,3 @@
-$NetBSD: patch-sum,v 1.4 2001/02/08 17:23:47 jlam Exp $
+$NetBSD: patch-sum,v 1.5 2001/03/09 19:55:58 jlam Exp $
-MD5 (patch-aa) = c1946ecd5d17f7659daacfd81c31cc50
+SHA1 (patch-aa) = 7e6306d7ba0cc1ac6159c717328bd172785326f1
diff --git a/games/crafty/patches/patch-aa b/games/crafty/patches/patch-aa
index 449593746be..48027b0eceb 100644
--- a/games/crafty/patches/patch-aa
+++ b/games/crafty/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2001/02/08 17:23:47 jlam Exp $
+$NetBSD: patch-aa,v 1.5 2001/03/09 19:55:58 jlam Exp $
--- Makefile.orig Mon Feb 5 16:20:35 2001
+++ Makefile
@@ -20,12 +20,21 @@ $NetBSD: patch-aa,v 1.4 2001/02/08 17:23:47 jlam Exp $
LDFLAGS='$(LDFLAGS)' \
opt='$(opt) -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST' \
+@@ -243,7 +243,7 @@
+ netbsd:
+ $(MAKE) target=NetBSD \
+ CC=gcc CXX=g++ \
+- CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall \
++ CFLAGS='$(CFLAGS) -D_REENTRANT -Wall \
+ -fomit-frame-pointer -funroll-all-loops \
+ -finline-functions -ffast-math' \
+ LDFLAGS='$(LDFLAGS)' \
@@ -253,7 +253,7 @@
netbsd-i386:
$(MAKE) target=NetBSD \
CC=gcc CXX=g++ \
- CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall -m486 \
-+ CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall \
++ CFLAGS='$(CFLAGS) -D_REENTRANT -Wall \
-fomit-frame-pointer -funroll-all-loops \
-finline-functions -ffast-math' \
LDFLAGS='$(LDFLAGS)' \
@@ -34,7 +43,16 @@ $NetBSD: patch-aa,v 1.4 2001/02/08 17:23:47 jlam Exp $
$(MAKE) target=NetBSD \
CC=gcc CXX=g++ \
- CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall -m486 \
-+ CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall \
++ CFLAGS='$(CFLAGS) -D_REENTRANT -Wall \
+ -fomit-frame-pointer -funroll-all-loops \
+ -finline-functions -ffast-math' \
+ LDFLAGS='$(LDFLAGS)' \
+@@ -277,7 +277,7 @@
+ netbsd-sparc:
+ $(MAKE) target=NetBSD \
+ CC=gcc CXX=g++ \
+- CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall \
++ CFLAGS='$(CFLAGS) -D_REENTRANT -Wall \
-fomit-frame-pointer -funroll-all-loops \
-finline-functions -ffast-math' \
LDFLAGS='$(LDFLAGS)' \
diff --git a/games/crafty/pkg/DESCR b/games/crafty/pkg/DESCR
index e8bce00102e..0daea944c1f 100644
--- a/games/crafty/pkg/DESCR
+++ b/games/crafty/pkg/DESCR
@@ -3,8 +3,6 @@ It is modeled after Cray Blitz (also written by Bob).
Crafty has the following features:
- - written in C
- - can be compiled with the GNU C compiler on various platforms
- has a customizable opening book
- supports tablebases (Steven Edward's endgame database)
- text interface