summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-05-23 20:21:53 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-05-23 20:21:53 +0000
commit3903aa05fd379432631f9a8c12fef77ecf6c0793 (patch)
treee0d7aa9ed982522019934ab878a10f37daa3e486 /games-sports
parentStable on ppc64 (diff)
downloadgentoo-2-3903aa05fd379432631f9a8c12fef77ecf6c0793.tar.gz
gentoo-2-3903aa05fd379432631f9a8c12fef77ecf6c0793.tar.bz2
gentoo-2-3903aa05fd379432631f9a8c12fef77ecf6c0793.zip
Fix for gcc-4.1, bug #132096
(Portage version: 2.1_rc1-r3)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/torcs/ChangeLog6
-rw-r--r--games-sports/torcs/files/torcs-1.2.4-gcc41.patch11
-rw-r--r--games-sports/torcs/torcs-1.2.4-r1.ebuild5
3 files changed, 19 insertions, 3 deletions
diff --git a/games-sports/torcs/ChangeLog b/games-sports/torcs/ChangeLog
index 0ec166b80c33..1a3b18547aed 100644
--- a/games-sports/torcs/ChangeLog
+++ b/games-sports/torcs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-sports/torcs
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/ChangeLog,v 1.12 2006/05/11 14:42:48 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/ChangeLog,v 1.13 2006/05/23 20:21:52 tupone Exp $
+
+ 23 May 2006; <Tupone@gentoo.org> +files/torcs-1.2.4-gcc41.patch,
+ torcs-1.2.4-r1.ebuild:
+ Fix for gcc 4.1, bug #132096 by nyhm
*torcs-1.2.4-r1 (11 May 2006)
diff --git a/games-sports/torcs/files/torcs-1.2.4-gcc41.patch b/games-sports/torcs/files/torcs-1.2.4-gcc41.patch
new file mode 100644
index 000000000000..35dd039eb9bd
--- /dev/null
+++ b/games-sports/torcs/files/torcs-1.2.4-gcc41.patch
@@ -0,0 +1,11 @@
+--- src/modules/graphic/ssggraph/grscreen.h.old 2006-05-23 20:46:59.000000000 +0200
++++ src/modules/graphic/ssggraph/grscreen.h 2006-05-23 20:47:14.000000000 +0200
+@@ -78,7 +78,7 @@
+
+ void update(tSituation *s, float Fps);
+
+- void cGrScreen::camDraw(tSituation *s);
++ void camDraw(tSituation *s);
+
+ void updateCurrent(tSituation *s);
+
diff --git a/games-sports/torcs/torcs-1.2.4-r1.ebuild b/games-sports/torcs/torcs-1.2.4-r1.ebuild
index eb8a59f24da5..c531ac3aa143 100644
--- a/games-sports/torcs/torcs-1.2.4-r1.ebuild
+++ b/games-sports/torcs/torcs-1.2.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/torcs-1.2.4-r1.ebuild,v 1.1 2006/05/11 14:42:48 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/torcs-1.2.4-r1.ebuild,v 1.2 2006/05/23 20:21:52 tupone Exp $
inherit games
@@ -24,7 +24,8 @@ DEPEND=">=media-libs/plib-1.8.3
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P}-freealut.patch
+ epatch "${FILESDIR}"/${P}-freealut.patch \
+ "${FILESDIR}/${P}"-gcc41.patch
sed -i \
-e "s:/games::" \
Make-config.in \