From 34ff59047b0ec19486e0144adda922493dad1080 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 15 Jul 2004 00:08:16 +0000 Subject: gcc-3.4 patch uNF --- games-strategy/attal/Manifest | 13 ++++++++++++- games-strategy/attal/attal-0.8.1.ebuild | 5 +++-- games-strategy/attal/files/0.8.1-gcc34.patch | 11 +++++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 games-strategy/attal/files/0.8.1-gcc34.patch (limited to 'games-strategy/attal') diff --git a/games-strategy/attal/Manifest b/games-strategy/attal/Manifest index 3b04cde4e9aa..a57b9decac98 100644 --- a/games-strategy/attal/Manifest +++ b/games-strategy/attal/Manifest @@ -1,6 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 fe0724690ed156167ba2f109f3c0ea3f ChangeLog 798 -MD5 d49889ffa1c1eb26f86b9914e0b34ce9 attal-0.8.1.ebuild 1767 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 MD5 1e855a92fd714a0763ca6ede2ff89491 attal-0.7.2.ebuild 1621 +MD5 fad0a0e89062da1c73e3d9e1e1dec452 attal-0.8.1.ebuild 1809 MD5 6df2fe25a4131a625a23b8d59a92ee76 files/digest-attal-0.8.1 135 MD5 b6f808586a9be2641f19b2cfe2cbf02b files/digest-attal-0.7.2 135 +MD5 bc43ed577df6439f1a168a4441031b6c files/0.8.1-gcc34.patch 436 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.9.8 (GNU/Linux) + +iD8DBQFA9cr5HTu7gpaalycRAn44AKD5/sweXw3szA2ypI9MF4CJRorDgQCgvmNU +6pQKtKSKCy/jzaoOKr6hnAc= +=NP+R +-----END PGP SIGNATURE----- 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++ ){ -- cgit v1.2.3-65-gdbad