summaryrefslogtreecommitdiff
path: root/games/exchess/patches/patch-aa
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-10-25 08:40:00 +0000
committerjlam <jlam@pkgsrc.org>2000-10-25 08:40:00 +0000
commitb89efb04df502053316a7c89f46fd9f5af2b5bf6 (patch)
treeb04f0009cb794a43051522e83b659c368bf170b9 /games/exchess/patches/patch-aa
parent5b56ecc37d42fc577efb8dbd666204fd839548d7 (diff)
downloadpkgsrc-b89efb04df502053316a7c89f46fd9f5af2b5bf6.tar.gz
EXchess - experimental chess engine (capable of beating Crafty)
Diffstat (limited to 'games/exchess/patches/patch-aa')
-rw-r--r--games/exchess/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/exchess/patches/patch-aa b/games/exchess/patches/patch-aa
new file mode 100644
index 00000000000..54aee032b5f
--- /dev/null
+++ b/games/exchess/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/25 08:40:00 jlam Exp $
+
+--- book.cpp.orig Sun Apr 30 09:56:26 2000
++++ book.cpp
+@@ -52,7 +52,7 @@
+ char outbook[100];
+ position temp_pos; // temporary position
+ move bmove; // book move under consideration
+- unsigned __int64 pcode; // hash code for position
++ u_int64_t pcode; // hash code for position
+ int i = -1, j = 0, k = 0, p; // loop variables
+ int count = 0, thresh, LINE_DEPTH; // control variables
+
+@@ -245,7 +245,7 @@
+ {
+ file_pos = 0;
+ int jump = int(file_size/2);
+- unsigned __int64 pcode = ZERO;
++ u_int64_t pcode = ZERO;
+
+ temporary_pos = p;
+ if(!exec_move(&temporary_pos, m, 1)) return 0;