summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/slibo/files/slibo-0.4.4-gcc41.patch')
-rw-r--r--games-board/slibo/files/slibo-0.4.4-gcc41.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-board/slibo/files/slibo-0.4.4-gcc41.patch b/games-board/slibo/files/slibo-0.4.4-gcc41.patch
new file mode 100644
index 000000000000..dfb84f01cbc7
--- /dev/null
+++ b/games-board/slibo/files/slibo-0.4.4-gcc41.patch
@@ -0,0 +1,13 @@
+--- src/sliboengine/search.c 2006-04-30 01:47:33.000000000 +0200
++++ src/sliboengine/search.c.new 2006-04-30 01:56:28.000000000 +0200
+@@ -282,7 +282,9 @@
+ inCheckSig(b);
+ b->color = -b->color;
+ Move *lastMove = movegen((constBoard *)b, firstMove);
+- (ply <= 0) ? stats.qPos : stats.pos += lastMove - firstMove;
++ if (ply > 0) {
++ stats.pos += lastMove - firstMove;
++ }
+
+ Move bestMove;
+ #ifdef PREHASH