aboutsummaryrefslogtreecommitdiff
path: root/games/gnushogi
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-15 07:51:47 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-15 07:51:47 +0000
commitf87f4b4d1853a7542d31daa59fe335c3cb29ebd7 (patch)
tree2d32889dab97c3262b9ae67b10ff7441411e8c5c /games/gnushogi
parenta1e598fe4eed8a8e81f56bc895610a65096a9bb8 (diff)
downloadports-f87f4b4d1853a7542d31daa59fe335c3cb29ebd7.tar.gz
ports-f87f4b4d1853a7542d31daa59fe335c3cb29ebd7.zip
- Fix gcc 4.X build
PR: ports/106736 Submitted by: trasz
Notes
Notes: svn path=/head/; revision=179827
Diffstat (limited to 'games/gnushogi')
-rw-r--r--games/gnushogi/files/patch-gnushogi-genmove.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/gnushogi/files/patch-gnushogi-genmove.c b/games/gnushogi/files/patch-gnushogi-genmove.c
new file mode 100644
index 000000000000..cf4b576e4ebf
--- /dev/null
+++ b/games/gnushogi/files/patch-gnushogi-genmove.c
@@ -0,0 +1,11 @@
+--- gnushogi/genmove.c.orig Fri Dec 15 00:14:06 2006
++++ gnushogi/genmove.c Fri Dec 15 00:15:04 2006
+@@ -40,7 +40,7 @@
+ static short InCheck = false, GenerateAllMoves = false;
+ static short check_determined = false;
+
+-static short INCscore = 0;
++short INCscore = 0;
+
+ short deepsearchcut = true;
+ short tas = false, taxs = false, ssa = false;