From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- gnuchess/patches/001_static_definition.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 gnuchess/patches/001_static_definition.patch (limited to 'gnuchess/patches/001_static_definition.patch') diff --git a/gnuchess/patches/001_static_definition.patch b/gnuchess/patches/001_static_definition.patch new file mode 100644 index 0000000..a89b483 --- /dev/null +++ b/gnuchess/patches/001_static_definition.patch @@ -0,0 +1,20 @@ +diff -crB gnuchess-5.07/src/common.h gnuchess-5.07.mod/src/common.h +*** gnuchess-5.07/src/common.h 2003-06-30 13:28:38.000000000 +0200 +--- gnuchess-5.07.mod/src/common.h 2010-03-19 20:32:10.474722004 +0100 +*************** +*** 716,722 **** + + /* Input thread and thread function */ + #include +! extern pthread_t input_thread; + void *input_func(void *); + + /* +--- 716,722 ---- + + /* Input thread and thread function */ + #include +! static pthread_t input_thread; + void *input_func(void *); + + /* -- cgit v1.2.3