summaryrefslogtreecommitdiff
path: root/source/xap/gnuchess/gnuchess.gcc4_fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/gnuchess/gnuchess.gcc4_fix.diff')
-rw-r--r--source/xap/gnuchess/gnuchess.gcc4_fix.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/xap/gnuchess/gnuchess.gcc4_fix.diff b/source/xap/gnuchess/gnuchess.gcc4_fix.diff
new file mode 100644
index 00000000..a6835194
--- /dev/null
+++ b/source/xap/gnuchess/gnuchess.gcc4_fix.diff
@@ -0,0 +1,11 @@
+--- gnuchess-5.07/src/input.c 2007-05-08 15:55:16.688003280 +0300
++++ gnuchess-5.07/src/input.c 2007-05-08 15:55:29.238088685 +0300
+@@ -92,7 +92,7 @@
+ fgets(inputstr, MAXSTR, stdin);
+ }
+
+-static pthread_t input_thread;
++pthread_t input_thread;
+
+ /* Mutex and condition variable for thread communication */
+