summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-07-25 12:44:07 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-07-25 12:44:07 +0000
commitc283900cbebd2b0f9412bf6166a844817f6c0e34 (patch)
treed0bee6053c2524bb50809813fcf5974d678d90a0 /games-simulation
parentVersion bump. Fixes bug 425822 (diff)
downloadgentoo-2-c283900cbebd2b0f9412bf6166a844817f6c0e34.tar.gz
gentoo-2-c283900cbebd2b0f9412bf6166a844817f6c0e34.tar.bz2
gentoo-2-c283900cbebd2b0f9412bf6166a844817f6c0e34.zip
Build with gcc-4.7 Bug #424729
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/dangerdeep/ChangeLog8
-rw-r--r--games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild5
-rw-r--r--games-simulation/dangerdeep/files/dangerdeep-0.3.0-gcc47.patch10
3 files changed, 19 insertions, 4 deletions
diff --git a/games-simulation/dangerdeep/ChangeLog b/games-simulation/dangerdeep/ChangeLog
index 2907b1ac6e55..6c7d330d924d 100644
--- a/games-simulation/dangerdeep/ChangeLog
+++ b/games-simulation/dangerdeep/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-simulation/dangerdeep
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/ChangeLog,v 1.13 2010/11/19 22:27:15 mr_bones_ Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/ChangeLog,v 1.14 2012/07/25 12:44:07 tupone Exp $
+
+ 25 Jul 2012; Alfredo Tupone <tupone@gentoo.org> dangerdeep-0.3.0.ebuild,
+ +files/dangerdeep-0.3.0-gcc47.patch:
+ Build with gcc-4.7 Bug #424729 by flameeyes@gentoo.org
19 Nov 2010; Michael Sterrett <mr_bones_@gentoo.org>
dangerdeep-0.3.0.ebuild:
diff --git a/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild b/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild
index 641f19ecc123..ab445287e355 100644
--- a/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild
+++ b/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild,v 1.10 2010/11/19 22:27:15 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/dangerdeep-0.3.0.ebuild,v 1.11 2012/07/25 12:44:07 tupone Exp $
EAPI=2
inherit eutils scons-utils games
@@ -29,6 +29,7 @@ src_prepare() {
epatch \
"${FILESDIR}"/${P}-build.patch \
"${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-gcc47.patch \
"${FILESDIR}"/${P}-gcc44.patch
sed -i -e "/console_log.txt/ s:fopen.*:stderr;:" src/system.cpp || die
}
diff --git a/games-simulation/dangerdeep/files/dangerdeep-0.3.0-gcc47.patch b/games-simulation/dangerdeep/files/dangerdeep-0.3.0-gcc47.patch
new file mode 100644
index 000000000000..54adcec10daf
--- /dev/null
+++ b/games-simulation/dangerdeep/files/dangerdeep-0.3.0-gcc47.patch
@@ -0,0 +1,10 @@
+--- src/faulthandler.h.old 2012-07-25 14:37:32.000000000 +0200
++++ src/faulthandler.h 2012-07-25 14:38:16.000000000 +0200
+@@ -50,6 +50,7 @@
+ #include <signal.h>
+ #include <string>
+ #include <sstream>
++#include <unistd.h>
+
+ // Note: use --export-dynamic as linker option or you won't get function names here.
+