summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-05-19 16:05:17 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-05-19 16:05:17 +0000
commit1c8684738e8f54fd5c0dc15fcfb02bb637256a64 (patch)
treeb3a61c54b0c314357c7b1cacbb37f7bcc29220b4 /games-action/atanks
parentFixed ampersand entity (diff)
downloadhistorical-1c8684738e8f54fd5c0dc15fcfb02bb637256a64.tar.gz
historical-1c8684738e8f54fd5c0dc15fcfb02bb637256a64.tar.bz2
historical-1c8684738e8f54fd5c0dc15fcfb02bb637256a64.zip
fix up patching
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-action/atanks')
-rw-r--r--games-action/atanks/ChangeLog5
-rw-r--r--games-action/atanks/Manifest4
-rw-r--r--games-action/atanks/atanks-1.1.0.ebuild14
3 files changed, 15 insertions, 8 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog
index 6a4ebb193cae..c44c896362c1 100644
--- a/games-action/atanks/ChangeLog
+++ b/games-action/atanks/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/atanks
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.13 2005/05/17 17:41:26 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.14 2005/05/19 16:05:17 mr_bones_ Exp $
+
+ 19 May 2005; Michael Sterrett <mr_bones_@gentoo.org> atanks-1.1.0.ebuild:
+ fix up patching. gcc-3.3 doesn't like the patch for gcc-3.4.
17 May 2005; Chris Gianelloni <wolf31o2@gentoo.org> atanks-1.1.0.ebuild:
Cleanup for bug #92745.
diff --git a/games-action/atanks/Manifest b/games-action/atanks/Manifest
index a93792bf68c6..6e480a228c88 100644
--- a/games-action/atanks/Manifest
+++ b/games-action/atanks/Manifest
@@ -1,6 +1,6 @@
-MD5 27bd3ea96c3ff0d5854ffab076781836 atanks-1.1.0.ebuild 1292
-MD5 a0e656cf607a8ab6f07dfb933ebcef14 ChangeLog 2785
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 416c03ac6fba668154b2418b7229f2d6 ChangeLog 2927
+MD5 c9c22cfb5b46aa0a45613ae07a1ef00e atanks-1.1.0.ebuild 1402
MD5 ea52207aee01685ed0e4b52b4cd66958 files/digest-atanks-1.1.0 65
MD5 e3857ce0d93e17bc2ad85dca19571131 files/1.1.0-gentoo.patch 5379
MD5 f1a4b436c0ef59132f761306104d2904 files/atanks-gcc34.patch 1229
diff --git a/games-action/atanks/atanks-1.1.0.ebuild b/games-action/atanks/atanks-1.1.0.ebuild
index 06c0e920ad0e..9e9990087875 100644
--- a/games-action/atanks/atanks-1.1.0.ebuild
+++ b/games-action/atanks/atanks-1.1.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-1.1.0.ebuild,v 1.10 2005/05/17 17:41:26 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-1.1.0.ebuild,v 1.11 2005/05/19 16:05:17 mr_bones_ Exp $
-inherit eutils games
+inherit eutils toolchain-funcs games
DESCRIPTION="Worms and Scorched Earth-like game"
HOMEPAGE="http://atanks.sourceforge.net/"
@@ -10,19 +10,23 @@ SRC_URI="mirror://sourceforge/atanks/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc"
+KEYWORDS="ppc x86"
IUSE=""
DEPEND="virtual/x11
>=media-libs/allegro-4.0.3
>=media-libs/allegttf-2.0"
-S="${WORKDIR}/${PN}"
+S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
+ cd "${S}"
#apply both patches to compile with gcc-3.4.0 closing bug #49457
- epatch "${FILESDIR}/atanks-gcc34.patch"
+ if [ "$(gcc-major-version)" -ge "3" -a "$(gcc-minor-version)" -ge "4" ]
+ then
+ epatch "${FILESDIR}/atanks-gcc34.patch"
+ fi
epatch "${FILESDIR}/${PV}-gentoo.patch"
DATA_DIR="${GAMES_DATADIR}/${PN}"