commit a8f0accc6685ce7bb1cde497a47aa93af5592399 Author: Ben Longbons Date: 2011-11-14 19:31:19 -0800 Fix wesnoth compilation with gcc 4.6 diff --git a/games-strategy/wesnoth/wesnoth-1.8.6.ebuild b/games-strategy/wesnoth/wesnoth-1.8.6.ebuild index c3f86e9..4d7cdee 100644 --- a/games-strategy/wesnoth/wesnoth-1.8.6.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.8.6.ebuild @@ -40,7 +40,10 @@ DEPEND="${RDEPEND} ) sys-devel/gettext" +PATCHES=( "${FILESDIR}"/$P-backport-boost-1.47-gcc-4.6-fix.patch ) + src_prepare() { + base_src_prepare if use dedicated || use server ; then sed \ -e "s:GAMES_BINDIR:${GAMES_BINDIR}:" \