Hi guys,

I've just installed GNU Chess 5.07, and discovered there's an incorrect
extern definition of input_thread in common.h that stops it from
compiling with GCC 4.2.2 (input_thread is actually static). Here's a
patch.

Thanks,

-- 
Adam Sampson <[EMAIL PROTECTED]>                         <http://offog.org/>
diff -x config.log -x config.status -ru tmp/gnuchess-5.07/src/common.h 
work/gnuchess-5.07/src/common.h
--- tmp/gnuchess-5.07/src/common.h      2003-06-30 12:28:38.000000000 +0100
+++ work/gnuchess-5.07/src/common.h     2008-01-27 11:15:07.000000000 +0000
@@ -715,8 +715,6 @@
 void DBTest (void);
 
 /* Input thread and thread function */
-#include <pthread.h>
-extern pthread_t input_thread;
 void *input_func(void *);
 
 /*
_______________________________________________
Bug-gnu-chess mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnu-chess

Reply via email to