5.07 Fails to compile, patch included
Timothy Pollard <[email protected]> Tue, 4 Sep 2007 07:29:20 +1000
| Newsgroups | gmane.comp.gnu.chess.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, Version 5.07 will not compile on my system (Slackware 12) The error I get is: input.c:95: error: static declaration of 'input_thread' follows non-static declaration common.h:719: error: previous declaration of 'input_thread' was here make[2]: *** [input.o] Error 1 make[2]: Leaving directory `/home/timp/slack_pack/cust_slackbuilds/gnuchess/gnuchess-5.07/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/timp/slack_pack/cust_slackbuilds/gnuchess/gnuchess-5.07/src' make: *** [all-recursive] Error 1 The attached patch fixes this error for me. Bye, -- TimP _______________________________________________ Bug-gnu-chess mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnu-chess
static.patch
(text/x-patch, 383 B)
diff -Naur gnuchess-5.07/src/input.c gnuchess-5.07-new/src/input.c --- gnuchess-5.07/src/input.c 2003-07-02 03:06:43.000000000 +1000 +++ gnuchess-5.07-new/src/input.c 2007-08-24 18:04:44.000000000 +1000 @@ -92,7 +92,7 @@ fgets(inputstr, MAXSTR, stdin); } -static pthread_t input_thread; +pthread_t input_thread; /* Mutex and condition variable for thread communication */
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFG3HywgDfPBOzuO2ERAjqkAKDDZW3SKijukvkK6zC87vo2heZtEwCdF7at Ju/pPqqU7ORhf7vBMfgRQU4= =vTrW -----END PGP SIGNATURE-----