summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-04-30 17:06:38 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-04-30 17:06:38 +0000
commit09256112de4b113cff60d52eb518036daef6a899 (patch)
treec70edb5396e628c0ca45991c0065451345cbeaa3 /games-strategy/netpanzer/netpanzer-0.8.2.ebuild
parentPatch to fix building with gcc-4.3 from Martin Väth, bug #218939 (diff)
downloadgentoo-2-09256112de4b113cff60d52eb518036daef6a899.tar.gz
gentoo-2-09256112de4b113cff60d52eb518036daef6a899.tar.bz2
gentoo-2-09256112de4b113cff60d52eb518036daef6a899.zip
Patch to fix building with gcc-4.3 from Peter Alfredsen, bug #218837
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'games-strategy/netpanzer/netpanzer-0.8.2.ebuild')
-rw-r--r--games-strategy/netpanzer/netpanzer-0.8.2.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/games-strategy/netpanzer/netpanzer-0.8.2.ebuild b/games-strategy/netpanzer/netpanzer-0.8.2.ebuild
index c6cfc0dbde00..0c8715e01544 100644
--- a/games-strategy/netpanzer/netpanzer-0.8.2.ebuild
+++ b/games-strategy/netpanzer/netpanzer-0.8.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/netpanzer-0.8.2.ebuild,v 1.2 2007/11/20 17:26:08 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/netpanzer-0.8.2.ebuild,v 1.3 2008/04/30 17:06:37 nyhm Exp $
inherit eutils games
@@ -23,6 +23,12 @@ RDEPEND="dedicated? ( app-misc/screen )
DEPEND="${RDEPEND}
|| ( dev-util/ftjam dev-util/jam )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
src_compile() {
egamesconf || die
jam -q || die "jam failed"