summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2005-12-20 04:46:26 +0000
committerHanno Boeck <hanno@gentoo.org>2005-12-20 04:46:26 +0000
commit084f498729734cfa5eabeea92c43cb2a82fe94a0 (patch)
treeca5d04b9f4771506bc64eb2687884c34c15b0d1e /games-board/gnuchess
parentzvbi version bump (diff)
downloadhistorical-084f498729734cfa5eabeea92c43cb2a82fe94a0.tar.gz
historical-084f498729734cfa5eabeea92c43cb2a82fe94a0.tar.bz2
historical-084f498729734cfa5eabeea92c43cb2a82fe94a0.zip
gnuchess gcc4 fix
Package-Manager: portage-2.1_pre1
Diffstat (limited to 'games-board/gnuchess')
-rw-r--r--games-board/gnuchess/ChangeLog6
-rw-r--r--games-board/gnuchess/Manifest17
-rw-r--r--games-board/gnuchess/files/gnuchess-gcc4.patch11
-rw-r--r--games-board/gnuchess/gnuchess-5.07.ebuild7
4 files changed, 36 insertions, 5 deletions
diff --git a/games-board/gnuchess/ChangeLog b/games-board/gnuchess/ChangeLog
index 95e0b1b8d904..36d28b67cb4b 100644
--- a/games-board/gnuchess/ChangeLog
+++ b/games-board/gnuchess/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-board/gnuchess
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess/ChangeLog,v 1.10 2005/06/15 18:24:04 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess/ChangeLog,v 1.11 2005/12/20 04:46:26 hanno Exp $
+
+ 20 Dec 2005; Hanno Boeck <hanno@gentoo.org> +files/gnuchess-gcc4.patch,
+ gnuchess-5.07.ebuild:
+ Fix for gcc 4.
15 Jun 2005; Chris Gianelloni <wolf31o2@gentoo.org> gnuchess-5.06.ebuild,
gnuchess-5.07.ebuild:
diff --git a/games-board/gnuchess/Manifest b/games-board/gnuchess/Manifest
index 589badee6b57..9828d92ed6af 100644
--- a/games-board/gnuchess/Manifest
+++ b/games-board/gnuchess/Manifest
@@ -1,4 +1,15 @@
-MD5 2f1485acc8aea29aeddf3cb3a9e7ecf4 gnuchess-5.07.ebuild 773
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 f74a9f45a8343b4c2de2fa03387f8f4e ChangeLog 1990
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 89f8fd0452f762fec0d36d3934306bb3 ChangeLog 2103
MD5 994fcb9b70d94e5702ad5170c6fbaebe files/digest-gnuchess-5.07 65
+MD5 a99f426060828d5de76f4fffe941fe7b files/gnuchess-gcc4.patch 317
+MD5 246a1df07841f1c7927ea509a1344883 gnuchess-5.07.ebuild 840
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDp40br2QksT29OyARAq1uAJ9SQtOxEMXvz+y7NRJRVNi4nt4WoACcCS4r
+b9tnHoufij+KbuljsSypkLA=
+=vhco
+-----END PGP SIGNATURE-----
diff --git a/games-board/gnuchess/files/gnuchess-gcc4.patch b/games-board/gnuchess/files/gnuchess-gcc4.patch
new file mode 100644
index 000000000000..173f2fba801e
--- /dev/null
+++ b/games-board/gnuchess/files/gnuchess-gcc4.patch
@@ -0,0 +1,11 @@
+--- 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 */
+
diff --git a/games-board/gnuchess/gnuchess-5.07.ebuild b/games-board/gnuchess/gnuchess-5.07.ebuild
index b1d40f56acba..76810e2f14ef 100644
--- a/games-board/gnuchess/gnuchess-5.07.ebuild
+++ b/games-board/gnuchess/gnuchess-5.07.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess/gnuchess-5.07.ebuild,v 1.7 2005/11/11 00:50:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnuchess/gnuchess-5.07.ebuild,v 1.8 2005/12/20 04:46:26 hanno Exp $
inherit games
@@ -15,6 +15,11 @@ IUSE="readline"
DEPEND="readline? ( sys-libs/readline )"
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/gnuchess-gcc4.patch
+}
+
src_compile() {
egamesconf \
--disable-dependency-tracking \