summaryrefslogtreecommitdiffstats
path: root/extra/gnuchess/gcc4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnuchess/gcc4.patch')
-rw-r--r--extra/gnuchess/gcc4.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/gnuchess/gcc4.patch b/extra/gnuchess/gcc4.patch
new file mode 100644
index 000000000..b5ce9230d
--- /dev/null
+++ b/extra/gnuchess/gcc4.patch
@@ -0,0 +1,10 @@
+--- 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 */