summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2005-12-20 04:46:26 +0000
committerHanno Böck <hanno@gentoo.org>2005-12-20 04:46:26 +0000
commiteaa0e6f7b781715e1a43ea63ca3b9dea1da6537f (patch)
treec500dbd8d5798b48c129fe44809d538c2725b86a /games-board
parentzvbi version bump (diff)
downloadgentoo-2-eaa0e6f7b781715e1a43ea63ca3b9dea1da6537f.tar.gz
gentoo-2-eaa0e6f7b781715e1a43ea63ca3b9dea1da6537f.tar.bz2
gentoo-2-eaa0e6f7b781715e1a43ea63ca3b9dea1da6537f.zip
gnuchess gcc4 fix
(Portage version: 2.1_pre1)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gnuchess/ChangeLog6
-rw-r--r--games-board/gnuchess/files/gnuchess-gcc4.patch11
-rw-r--r--games-board/gnuchess/gnuchess-5.07.ebuild7
3 files changed, 22 insertions, 2 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/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 \