Fixed gcc 3.4 compile problems and added ~ppc.
authorJoseph Jezak <josejx@gentoo.org>
Mon, 8 Nov 2004 02:08:23 +0000 (02:08 +0000)
committerJoseph Jezak <josejx@gentoo.org>
Mon, 8 Nov 2004 02:08:23 +0000 (02:08 +0000)
games-strategy/xconq/ChangeLog
games-strategy/xconq/Manifest
games-strategy/xconq/files/xconq-gcc-3.4.patch [new file with mode: 0644]
games-strategy/xconq/xconq-7.4.1.ebuild

index 090b56adf79e81056d88a6c2a3bb804c16193464..c561b5e15b0b3baa16fe3e476d2d0de2b902b436 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-strategy/xconq
 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/xconq/ChangeLog,v 1.2 2004/06/24 23:30:44 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xconq/ChangeLog,v 1.3 2004/11/08 02:08:23 josejx Exp $
+
+  08 Nov 2004; Joseph Jezak <josejx@gentoo.org> +files/xconq-gcc-3.4.patch,
+  xconq-7.4.1.ebuild:
+  Fixed compiling with gcc 3.4 and addded ~ppc.
 
 *xconq-7.4.1 (12 Dec 2003)
 
index 45ad570833dba3d430c2ee38740b537f894f15dc..76dc3fc50dc8a67eee814eccb2d157d90c417e2e 100644 (file)
@@ -1,4 +1,5 @@
-MD5 bab54cd5dcc2eecced58c58201861913 xconq-7.4.1.ebuild 884
-MD5 ee04afeb2d2d97a20edc23ac3888f4b9 ChangeLog 349
+MD5 5a83d0177fed8daaa10d6700ee86b1ac ChangeLog 494
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 686ad8227c8478858c9203fc8849e2ee xconq-7.4.1.ebuild 967
 MD5 11e6b9f0b9deabfd09b8d9282236896a files/digest-xconq-7.4.1 64
+MD5 678926da0bc080c8b9c755516e553ddb files/xconq-gcc-3.4.patch 223
diff --git a/games-strategy/xconq/files/xconq-gcc-3.4.patch b/games-strategy/xconq/files/xconq-gcc-3.4.patch
new file mode 100644 (file)
index 0000000..2819103
--- /dev/null
@@ -0,0 +1,10 @@
+--- tcltk/tkmain.c.old 2004-11-05 11:28:11.379166320 +0000
++++ tcltk/tkmain.c     2004-11-05 11:28:25.956950160 +0000
+@@ -1381,6 +1381,7 @@
+         return TRUE;
+       case 1:
+       default:
++              ;
+     }
+     return FALSE;
+ }
index 9fb6dcb4b6456ecec50155d40aea5e4ea043abd8..a9794b250c3a8ede75ab5c11c55489d88e7cffb7 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/xconq/xconq-7.4.1.ebuild,v 1.4 2004/06/24 23:30:44 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xconq/xconq-7.4.1.ebuild,v 1.5 2004/11/08 02:08:23 josejx Exp $
 
 inherit games
 
@@ -10,13 +10,19 @@ SRC_URI="ftp://sources.redhat.com/pub/xconq/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="x86"
+KEYWORDS="x86 ~ppc"
 IUSE=""
 
 DEPEND="virtual/x11
        dev-lang/tk
        dev-lang/tcl"
 
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${PN}-gcc-3.4.patch
+}
+
 src_compile() {
        egamesconf \
                --enable-alternate-scoresdir=${GAMES_STATEDIR}/${PN}/scores \