summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-05-01 15:27:36 +0000
committerTristan Heaven <tristan@gentoo.org>2008-05-01 15:27:36 +0000
commit383976e47c0149633e56f68b9025a362e8725b0e (patch)
tree394bcf9cbc6eeca58d4e702abddacccc7531b91e /games-rpg/aklabeth
parentx86 stable, bug #219513 (diff)
downloadhistorical-383976e47c0149633e56f68b9025a362e8725b0e.tar.gz
historical-383976e47c0149633e56f68b9025a362e8725b0e.tar.bz2
historical-383976e47c0149633e56f68b9025a362e8725b0e.zip
Patch to fix building with gcc-4.3 from Martin Väth, bug #218944
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'games-rpg/aklabeth')
-rw-r--r--games-rpg/aklabeth/ChangeLog8
-rw-r--r--games-rpg/aklabeth/Manifest15
-rw-r--r--games-rpg/aklabeth/aklabeth-1.0.ebuild14
-rw-r--r--games-rpg/aklabeth/files/aklabeth-1.0-gcc43.patch10
4 files changed, 39 insertions, 8 deletions
diff --git a/games-rpg/aklabeth/ChangeLog b/games-rpg/aklabeth/ChangeLog
index c1e2c8f96258..3b4438001ccc 100644
--- a/games-rpg/aklabeth/ChangeLog
+++ b/games-rpg/aklabeth/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-rpg/aklabeth
-# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/aklabeth/ChangeLog,v 1.3 2004/12/16 15:35:32 josejx Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/aklabeth/ChangeLog,v 1.4 2008/05/01 15:27:36 nyhm Exp $
+
+ 01 May 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/aklabeth-1.0-gcc43.patch, aklabeth-1.0.ebuild:
+ Patch to fix building with gcc-4.3 from Martin Väth, bug #218944
17 Dec 2004; Joseph Jezak <josejx@gentoo.org> aklabeth-1.0.ebuild:
Marked ppc stable.
diff --git a/games-rpg/aklabeth/Manifest b/games-rpg/aklabeth/Manifest
index fb11746436e0..b64d895a966a 100644
--- a/games-rpg/aklabeth/Manifest
+++ b/games-rpg/aklabeth/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX aklabeth-1.0-gcc43.patch 218 RMD160 b232d85845cd0520dd9cf1eb2d9a61e02979c2ba SHA1 e1f051643c4462554db4c6ec6156d78fc8a95718 SHA256 8de5de5f1d23997dfd9d999f372efddd3b9a4cd5940e7e1113455f41c2ae19d8
DIST aklabeth-1.0.tar.gz 235131 RMD160 713f74300a5de79b071120de7244ba173f0b75c8 SHA1 dc01cbc9e04ea5ff4b4a1188c5afaf0ff63113a1 SHA256 ce8486519f434a229f002a77cad28cb40e66794225d2b8ac7013ab867c2ff044
-EBUILD aklabeth-1.0.ebuild 606 RMD160 19cfd1a78eb0756eeb6fdfffb2c7ca3c98c82a16 SHA1 081b67d231451b802fea6187e6cededaf61077a7 SHA256 2857ca9861f912b2df822db8b5beb4c34cfeb29ef6404a873300e25b1507d4a0
-MISC ChangeLog 576 RMD160 4f245c7b6ffce7197bda6f86b67afe16bc92a08b SHA1 683486b59bc390a4fae19354f5dbc09bdfe13103 SHA256 e252a8f82449e557b81358e72391d723eb87623332867aeca0d71edb9a63becc
+EBUILD aklabeth-1.0.ebuild 692 RMD160 0690ba0fb8cac73305c29d1786adeecbc4aad5fd SHA1 9be6c0d10dab39d011e0e7315ea70a277600ceeb SHA256 8b94efaf4183b8b1c467f90c0932a278a1a8abb9148d20cb2709fd21486568e4
+MISC ChangeLog 747 RMD160 54e27ce7d90524d29e6380d8ff8e423821280415 SHA1 f103aaf13107b0119a296d6609582cb1cd1b0ce0 SHA256 c22147623768f4681ff2a0a283bcf2e39aa53a4cb0be20bf478ea85031605884
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkgZ4W0ACgkQdz7hIScOURGSjwCgiphtLgpWeS6qsORi8Fm73xrJ
+epMAn18wcPmUHl6Pk0G52Ftfa+1zkHay
+=MOoM
+-----END PGP SIGNATURE-----
diff --git a/games-rpg/aklabeth/aklabeth-1.0.ebuild b/games-rpg/aklabeth/aklabeth-1.0.ebuild
index 77566a2f9f15..df7ec41713fd 100644
--- a/games-rpg/aklabeth/aklabeth-1.0.ebuild
+++ b/games-rpg/aklabeth/aklabeth-1.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/aklabeth/aklabeth-1.0.ebuild,v 1.4 2004/12/16 15:35:32 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/aklabeth/aklabeth-1.0.ebuild,v 1.5 2008/05/01 15:27:36 nyhm Exp $
-inherit games
+inherit eutils games
DESCRIPTION="A remake of Richard C. Garriott's Ultima prequel"
HOMEPAGE="http://www.autismuk.freeserve.co.uk/"
@@ -10,11 +10,17 @@ SRC_URI="http://www.autismuk.freeserve.co.uk/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc ~amd64"
+KEYWORDS="~amd64 ppc x86"
IUSE=""
DEPEND="media-libs/libsdl"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
src_install() {
dogamesbin src/aklabeth || die "dogamesbin failed"
dodoc AUTHORS README NEWS
diff --git a/games-rpg/aklabeth/files/aklabeth-1.0-gcc43.patch b/games-rpg/aklabeth/files/aklabeth-1.0-gcc43.patch
new file mode 100644
index 000000000000..b9a32dadd430
--- /dev/null
+++ b/games-rpg/aklabeth/files/aklabeth-1.0-gcc43.patch
@@ -0,0 +1,10 @@
+--- src/sdw.hxx
++++ src/sdw.hxx
+@@ -19,6 +19,7 @@
+
+ #include <iostream>
+ #include <string>
++#include <cstdlib>
+
+ namespace SDLWrapper // It's all nicely in a namespace SDLWrapper
+ {