aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-15 15:51:47 +0800
committermiwi <miwi@FreeBSD.org>2006-12-15 15:51:47 +0800
commit8d9318de2315679f9939396a40c461956d606d41 (patch)
tree4a6489ad54adfd077b5c7f00a8e2f0fea86edbab
parent8929c42dd494c6323bc18285a75a3f6f16f25620 (diff)
downloadfreebsd-ports-gnome-8d9318de2315679f9939396a40c461956d606d41.tar.gz
freebsd-ports-gnome-8d9318de2315679f9939396a40c461956d606d41.tar.zst
freebsd-ports-gnome-8d9318de2315679f9939396a40c461956d606d41.zip
- Fix gcc 4.X build
PR: ports/106736 Submitted by: trasz
-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;