summaryrefslogtreecommitdiffstats
path: root/extra/gnuchess/gnuchess-gcc4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnuchess/gnuchess-gcc4.patch')
-rw-r--r--extra/gnuchess/gnuchess-gcc4.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/gnuchess/gnuchess-gcc4.patch b/extra/gnuchess/gnuchess-gcc4.patch
new file mode 100644
index 000000000..173f2fba8
--- /dev/null
+++ b/extra/gnuchess/gnuchess-gcc4.patch
@@ -0,0 +1,11 @@
+--- gnuchess-5.07/src/input.c.orig 2005-11-11 00:45:40.000000000 +0100
++++ gnuchess-5.07/src/input.c 2005-11-11 00:45:51.000000000 +0100
+@@ -92,7 +92,7 @@
+ fgets(inputstr, MAXSTR, stdin);
+ }
+
+-static pthread_t input_thread;
++pthread_t input_thread;
+
+ /* Mutex and condition variable for thread communication */
+