diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2012-08-04 14:39:10 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2012-08-04 14:39:10 +0000 |
commit | b47e54ed975faf548ab2181d6d745b1cc82c90bc (patch) | |
tree | 71acf2743a02a680f7a73ba84ab19b30bf9cabcb /games-strategy/widelands/widelands-0.17.ebuild | |
parent | Remove old. (diff) | |
download | gentoo-2-b47e54ed975faf548ab2181d6d745b1cc82c90bc.tar.gz gentoo-2-b47e54ed975faf548ab2181d6d745b1cc82c90bc.tar.bz2 gentoo-2-b47e54ed975faf548ab2181d6d745b1cc82c90bc.zip |
add upstream patch for gcc47 extracted by Michał Górny (bug #420961)
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'games-strategy/widelands/widelands-0.17.ebuild')
-rw-r--r-- | games-strategy/widelands/widelands-0.17.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games-strategy/widelands/widelands-0.17.ebuild b/games-strategy/widelands/widelands-0.17.ebuild index e6614c1685c2..2733ab137e12 100644 --- a/games-strategy/widelands/widelands-0.17.ebuild +++ b/games-strategy/widelands/widelands-0.17.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.17.ebuild,v 1.3 2012/05/21 19:23:02 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.17.ebuild,v 1.4 2012/08/04 14:39:10 mr_bones_ Exp $ EAPI=3 inherit eutils versionator cmake-utils games @@ -32,7 +32,9 @@ CMAKE_BUILD_TYPE=Release PREFIX=${GAMES_DATADIR}/${PN} src_prepare() { - epatch "${FILESDIR}"/${P}-cxxflags.patch + epatch \ + "${FILESDIR}"/${P}-cxxflags.patch \ + "${FILESDIR}"/${P}-gcc47.patch sed -i -e 's:__ppc__:__PPC__:' src/s2map.cc || die sed -i -e '74i#define OF(x) x' src/io/filesystem/{un,}zip.h || die |