summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-15 00:08:16 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-15 00:08:16 +0000
commitb8ebf272fdc895a178ad7cb7102afaf3c1464020 (patch)
treeb674f765b2e048a485d194b3dc8daaaee4f37ac8 /games-strategy/attal
parentsync IUSE (+nls), don't assign S=${WORKDIR}/${P}, trim trailing whitespace (M... (diff)
downloadgentoo-2-b8ebf272fdc895a178ad7cb7102afaf3c1464020.tar.gz
gentoo-2-b8ebf272fdc895a178ad7cb7102afaf3c1464020.tar.bz2
gentoo-2-b8ebf272fdc895a178ad7cb7102afaf3c1464020.zip
gcc-3.4 patch uNF
Diffstat (limited to 'games-strategy/attal')
-rw-r--r--games-strategy/attal/attal-0.8.1.ebuild5
-rw-r--r--games-strategy/attal/files/0.8.1-gcc34.patch11
2 files changed, 14 insertions, 2 deletions
diff --git a/games-strategy/attal/attal-0.8.1.ebuild b/games-strategy/attal/attal-0.8.1.ebuild
index cacb3f9e44ef..f33dca57c460 100644
--- a/games-strategy/attal/attal-0.8.1.ebuild
+++ b/games-strategy/attal/attal-0.8.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.8.1.ebuild,v 1.1 2004/07/10 03:01:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.8.1.ebuild,v 1.2 2004/07/15 00:08:16 vapier Exp $
-inherit games
+inherit games eutils
MY_P="${PN}-src-${PV}"
DESCRIPTION="turn-based strategy game project"
@@ -22,6 +22,7 @@ S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
cd ${S}
+ epatch ${FILESDIR}/${PV}-gcc34.patch
for lib in Client Common Fight Server ; do
sed -i \
-e "/^TARGET/s:= ${lib}:= ${PN}${lib}:" \
diff --git a/games-strategy/attal/files/0.8.1-gcc34.patch b/games-strategy/attal/files/0.8.1-gcc34.patch
new file mode 100644
index 000000000000..55cff4e2aa33
--- /dev/null
+++ b/games-strategy/attal/files/0.8.1-gcc34.patch
@@ -0,0 +1,11 @@
+--- attal-src-0.8.1/libCommon/genericMapDisposition.cpp.orig 2004-07-14 19:51:47.783372784 -0400
++++ attal-src-0.8.1/libCommon/genericMapDisposition.cpp 2004-07-14 19:51:56.068113312 -0400
+@@ -59,7 +59,7 @@
+ delete [] _dispo;
+ }
+
+- _dispo = new (DispositionType *)[ height ];
++ _dispo = new DispositionType *[ height ];
+ for( i = 0; i < height; i++ ) {
+ _dispo[i] = new DispositionType[ width ];
+ for( j = 0; j < width; j++ ){