summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-01-20 14:24:47 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-01-20 14:24:47 +0000
commit072acd6ad2c7d4319e8898f18ede8c8ad7caaacb (patch)
tree9a71c9392587c4d8648268b5324fa0ff5237affe /games-emulation
parentdev-perl/Params-Check moved to perl-core/Params-Check (diff)
downloadgentoo-2-072acd6ad2c7d4319e8898f18ede8c8ad7caaacb.tar.gz
gentoo-2-072acd6ad2c7d4319e8898f18ede8c8ad7caaacb.tar.bz2
gentoo-2-072acd6ad2c7d4319e8898f18ede8c8ad7caaacb.zip
Fix gcc-4.3 bug #251131
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r7 x86_64)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/virtualjaguar/ChangeLog8
-rw-r--r--games-emulation/virtualjaguar/files/virtualjaguar-1.0.7-gcc43.patch12
-rw-r--r--games-emulation/virtualjaguar/virtualjaguar-1.0.7.ebuild8
3 files changed, 23 insertions, 5 deletions
diff --git a/games-emulation/virtualjaguar/ChangeLog b/games-emulation/virtualjaguar/ChangeLog
index c09df93ecaf8..a76fa50213fc 100644
--- a/games-emulation/virtualjaguar/ChangeLog
+++ b/games-emulation/virtualjaguar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/virtualjaguar
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/ChangeLog,v 1.11 2007/03/12 14:00:01 genone Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/ChangeLog,v 1.12 2009/01/20 14:24:47 tupone Exp $
+
+ 20 Jan 2009; Alfredo Tupone <tupone@gentoo.org>
+ +files/virtualjaguar-1.0.7-gcc43.patch, virtualjaguar-1.0.7.ebuild:
+ Fix gcc-4.3 bug #251131 by flameeyes@gentoo.org
12 Mar 2007; Marius Mauch <genone@gentoo.org> virtualjaguar-1.0.7.ebuild:
Replacing einfo with elog
diff --git a/games-emulation/virtualjaguar/files/virtualjaguar-1.0.7-gcc43.patch b/games-emulation/virtualjaguar/files/virtualjaguar-1.0.7-gcc43.patch
new file mode 100644
index 000000000000..d185f0d0c093
--- /dev/null
+++ b/games-emulation/virtualjaguar/files/virtualjaguar-1.0.7-gcc43.patch
@@ -0,0 +1,12 @@
+--- src/sdlemu_config.cpp.old 2009-01-20 14:38:35.000000000 +0100
++++ src/sdlemu_config.cpp 2009-01-20 14:39:44.000000000 +0100
+@@ -18,6 +18,8 @@
+ */
+
+ #include <stdio.h>
++#include <cstring>
++#include <cstdlib>
+ #include <string>
+ #include <list>
+ #include "sdlemu_config.h"
+
diff --git a/games-emulation/virtualjaguar/virtualjaguar-1.0.7.ebuild b/games-emulation/virtualjaguar/virtualjaguar-1.0.7.ebuild
index 5aa82f56e05a..8a115655ea5e 100644
--- a/games-emulation/virtualjaguar/virtualjaguar-1.0.7.ebuild
+++ b/games-emulation/virtualjaguar/virtualjaguar-1.0.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/virtualjaguar-1.0.7.ebuild,v 1.4 2007/03/12 14:00:01 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/virtualjaguar-1.0.7.ebuild,v 1.5 2009/01/20 14:24:47 tupone Exp $
inherit eutils toolchain-funcs games
@@ -28,7 +28,9 @@ src_unpack() {
|| die "sed Makefile failed"
mkdir obj || die "mkdir failed" # silly makefile
- epatch "${FILESDIR}/${PV}-cdintf_linux.patch"
+ edos2unix src/sdlemu_config.cpp
+ epatch "${FILESDIR}/${PV}-cdintf_linux.patch" \
+ "${FILESDIR}"/${P}-gcc43.patch
cp "${FILESDIR}/virtualjaguar" "${T}" || die "cp failed"