aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnuchess
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-06-06 22:11:24 +0800
committerpav <pav@FreeBSD.org>2007-06-06 22:11:24 +0800
commit84b13c4862caf7d84f5707ef1979c9260770c405 (patch)
treeecba2803bca595a6c3490930f78a2cf3f40836f6 /games/gnuchess
parent05ccafa39f15747b15fa79acf1ae855254956482 (diff)
downloadfreebsd-ports-graphics-84b13c4862caf7d84f5707ef1979c9260770c405.tar.gz
freebsd-ports-graphics-84b13c4862caf7d84f5707ef1979c9260770c405.tar.zst
freebsd-ports-graphics-84b13c4862caf7d84f5707ef1979c9260770c405.zip
- Fix build with gcc42
PR: ports/113400 Submitted by: Conrad J. Sabatier <conrads@cox.net> (maintainer)
Diffstat (limited to 'games/gnuchess')
-rw-r--r--games/gnuchess/files/patch-input.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/gnuchess/files/patch-input.c b/games/gnuchess/files/patch-input.c
new file mode 100644
index 00000000000..188fced0252
--- /dev/null
+++ b/games/gnuchess/files/patch-input.c
@@ -0,0 +1,11 @@
+--- src/input.c.orig Tue Jun 5 23:34:06 2007
++++ src/input.c Tue Jun 5 23:34:14 2007
+@@ -92,7 +92,7 @@
+ fgets(inputstr, MAXSTR, stdin);
+ }
+
+-static pthread_t input_thread;
++pthread_t input_thread;
+
+ /* Mutex and condition variable for thread communication */
+