diff options
author | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:10:50 +0000 |
---|---|---|
committer | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:10:50 +0000 |
commit | dab3cd675c86d4785f6911f5a386803b92b8a0ec (patch) | |
tree | db50c9fb2c5c1596f4fe7bf1b9e99dc2a466691a | |
parent | 70d3331748156cff8496ea9b17a0a791d4ce9b78 (diff) |
added gnuchess
-rw-r--r-- | package/gnuchess/Config.in | 7 | ||||
-rw-r--r-- | package/gnuchess/gnuchess-5.07.patch | 11 | ||||
-rw-r--r-- | package/gnuchess/gnuchess.mk | 18 |
3 files changed, 36 insertions, 0 deletions
diff --git a/package/gnuchess/Config.in b/package/gnuchess/Config.in new file mode 100644 index 000000000..3919c25f4 --- /dev/null +++ b/package/gnuchess/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_GNUCHESS + bool "gnuchess" + default n + help + GNU Chess lets most modern computers play a full game of chess. + + http://ftp.gnu.org/pub/gnu/chess diff --git a/package/gnuchess/gnuchess-5.07.patch b/package/gnuchess/gnuchess-5.07.patch new file mode 100644 index 000000000..18979b68c --- /dev/null +++ b/package/gnuchess/gnuchess-5.07.patch @@ -0,0 +1,11 @@ +--- a/src/input.c 2003-07-01 13:06:43.000000000 -0400 ++++ a/src/input.c 2008-02-13 12:24:43.000000000 -0500 +@@ -92,7 +92,7 @@ void getline_standard(char *p) + fgets(inputstr, MAXSTR, stdin); + } + +-static pthread_t input_thread; ++pthread_t input_thread; + + /* Mutex and condition variable for thread communication */ + diff --git a/package/gnuchess/gnuchess.mk b/package/gnuchess/gnuchess.mk new file mode 100644 index 000000000..8a64d898a --- /dev/null +++ b/package/gnuchess/gnuchess.mk @@ -0,0 +1,18 @@ +############################################################# +# +# gnuchess +# +############################################################# +GNUCHESS_VERSION = 5.07 +GNUCHESS_SOURCE = gnuchess-$(GNUCHESS_VERSION).tar.gz +GNUCHESS_SITE = http://ftp.gnu.org/pub/gnu/chess +GNUCHESS_AUTORECONF = NO +GNUCHESS_INSTALL_STAGING = NO +GNUCHESS_INSTALL_TARGET = YES + +GNUCHESS_CONF_ENV = ac_cv_func_realloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes + +GNUCHESS_DEPENDENCIES = uclibc + +$(eval $(call AUTOTARGETS,package,gnuchess)) + |