summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2004-11-05 05:40:41 +0000
committerJoseph Jezak <josejx@gentoo.org>2004-11-05 05:40:41 +0000
commit03903737e29e1a5b540d5eec8b4acac2322df5bf (patch)
treee9510e4807fa4e2744377220de7cf85e5b4eaeb5 /games-sports
parentRemove old files, clean up some configuration files repoman was complaining a... (diff)
downloadgentoo-2-03903737e29e1a5b540d5eec8b4acac2322df5bf.tar.gz
gentoo-2-03903737e29e1a5b540d5eec8b4acac2322df5bf.tar.bz2
gentoo-2-03903737e29e1a5b540d5eec8b4acac2322df5bf.zip
Added ~ppc and gcc 3.4 fixes.
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/gracer/ChangeLog6
-rw-r--r--games-sports/gracer/files/gracer-gcc-3.4.patch120
-rw-r--r--games-sports/gracer/gracer-0.1.5.ebuild5
3 files changed, 128 insertions, 3 deletions
diff --git a/games-sports/gracer/ChangeLog b/games-sports/gracer/ChangeLog
index f651ace332fa..76a6938dcc5e 100644
--- a/games-sports/gracer/ChangeLog
+++ b/games-sports/gracer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-sports/gracer
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/gracer/ChangeLog,v 1.7 2004/06/28 17:23:29 jhuebel Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/gracer/ChangeLog,v 1.8 2004/11/05 05:40:41 josejx Exp $
+
+ 05 Nov 2004; Joseph Jezak <josejx@gentoo.org> +files/gracer-gcc-3.4.patch,
+ gracer-0.1.5.ebuild:
+ Added ~ppc and gcc 3.4 fixes.
28 Jun 2004; Jason Eric Huebel <jhuebel@gentoo.org> gracer-0.1.5.ebuild:
gnuconfig_update, ~amd64
diff --git a/games-sports/gracer/files/gracer-gcc-3.4.patch b/games-sports/gracer/files/gracer-gcc-3.4.patch
new file mode 100644
index 000000000000..354f9865a655
--- /dev/null
+++ b/games-sports/gracer/files/gracer-gcc-3.4.patch
@@ -0,0 +1,120 @@
+--- src/glbind.c.old 2004-11-05 01:15:07.141221016 +0000
++++ src/glbind.c 2004-11-05 01:15:32.808319024 +0000
+@@ -2150,6 +2150,7 @@
+ return 3;
+
+ default:
++ ;
+ }
+
+ ERROR:
+@@ -2889,6 +2890,7 @@
+ return 6;
+
+ default:
++ ;
+ }
+
+ ERROR:
+@@ -3081,6 +3083,7 @@
+ return 4;
+
+ default:
++ ;
+ }
+
+ ERROR:
+--- src/glutwidgets.c.old 2004-11-05 01:17:17.941336376 +0000
++++ src/glutwidgets.c 2004-11-05 01:18:42.059548464 +0000
+@@ -255,6 +255,7 @@
+ widget->width += (width - screen_width);
+ break;
+ default:
++ ;
+ }
+ switch (widget->anchor & GR_VERTICAL_MASK) {
+ case GR_BOTTOM:
+@@ -268,6 +269,7 @@
+ widget->height += (width - screen_height);
+ break;
+ default:
++ ;
+ }
+ glut_widget_calc_bbox (widget);
+ }
+@@ -327,6 +329,7 @@
+ break;
+
+ default:
++ ;
+ }
+ }
+
+@@ -504,6 +507,7 @@
+ break;
+
+ default:
++ ;
+ }
+ }
+
+@@ -1299,6 +1303,7 @@
+ break;
+
+ default:
++ ;
+ }
+ }
+
+@@ -1571,6 +1576,7 @@
+ break;
+
+ default:
++ ;
+ }
+
+ glColor4fv (widget->fg_color[GR_STATE_NORMAL]);
+--- src/gr_world.c.old 2004-11-05 01:19:30.766143936 +0000
++++ src/gr_world.c 2004-11-05 01:19:07.717647840 +0000
+@@ -169,6 +169,7 @@
+ break;
+
+ default:
++ ;
+ }
+
+ tlist = entry->triggers;
+--- ac2scene/ac2scene.c.old 2004-11-05 01:13:55.845059680 +0000
++++ ac2scene/ac2scene.c 2004-11-05 01:14:32.526483256 +0000
+@@ -162,6 +162,7 @@
+ break;
+
+ default:
++ ;
+ }
+
+ return 0;
+@@ -234,6 +235,7 @@
+ break;
+
+ default:
++ ;
+ }
+
+ return 0;
+@@ -316,6 +318,7 @@
+ }
+ break;
+ default:
++ ;
+ }
+
+ return 0;
+@@ -399,6 +402,7 @@
+ break;
+
+ default:
++ ;
+ }
+ }
+
diff --git a/games-sports/gracer/gracer-0.1.5.ebuild b/games-sports/gracer/gracer-0.1.5.ebuild
index 397f2c72ede2..5d0f4520c46f 100644
--- a/games-sports/gracer/gracer-0.1.5.ebuild
+++ b/games-sports/gracer/gracer-0.1.5.ebuild
@@ -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-sports/gracer/gracer-0.1.5.ebuild,v 1.7 2004/06/28 17:23:29 jhuebel Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/gracer/gracer-0.1.5.ebuild,v 1.8 2004/11/05 05:40:41 josejx Exp $
inherit gnuconfig games eutils
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/gracer/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~sparc ~amd64"
+KEYWORDS="x86 ~sparc ~amd64 ~ppc"
IUSE="gif jpeg png joystick"
RDEPEND="virtual/x11
@@ -29,6 +29,7 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}/${PV}-gldefs.patch"
+ epatch ${FILESDIR}/${PN}-gcc-3.4.patch
}
src_compile() {