diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2006-05-21 12:00:22 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2006-05-21 12:00:22 +0000 |
commit | 0980961dc53fd98b4676ca1bbb0b1b9f45f9e698 (patch) | |
tree | 3263fd880ab025fc3311a43eaa9ed85dc7f249c1 /games-puzzle/shaaft | |
parent | Fixed sandbox violation, bug #131524 (diff) | |
download | gentoo-2-0980961dc53fd98b4676ca1bbb0b1b9f45f9e698.tar.gz gentoo-2-0980961dc53fd98b4676ca1bbb0b1b9f45f9e698.tar.bz2 gentoo-2-0980961dc53fd98b4676ca1bbb0b1b9f45f9e698.zip |
Fix compiling with gcc-4.1 Not able to play it, thought
(Portage version: 2.1_rc1-r2)
Diffstat (limited to 'games-puzzle/shaaft')
-rw-r--r-- | games-puzzle/shaaft/ChangeLog | 6 | ||||
-rw-r--r-- | games-puzzle/shaaft/files/digest-shaaft-0.5.0 | 2 | ||||
-rw-r--r-- | games-puzzle/shaaft/files/shaaft-0.5.0-gcc41.patch | 11 | ||||
-rw-r--r-- | games-puzzle/shaaft/shaaft-0.5.0.ebuild | 5 |
4 files changed, 21 insertions, 3 deletions
diff --git a/games-puzzle/shaaft/ChangeLog b/games-puzzle/shaaft/ChangeLog index 35265620330c..0fe2afb985b2 100644 --- a/games-puzzle/shaaft/ChangeLog +++ b/games-puzzle/shaaft/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-puzzle/shaaft # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/ChangeLog,v 1.5 2006/03/14 22:19:11 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/ChangeLog,v 1.6 2006/05/21 12:00:22 tupone Exp $ + + 21 May 2006; <Tupone@gentoo.org> +files/shaaft-0.5.0-gcc41.patch, + shaaft-0.5.0.ebuild: + Fix compiling with gcc-4.1 14 Mar 2006; Michael Sterrett <mr_bones_@gentoo.org> shaaft-0.5.0.ebuild: X is implicit diff --git a/games-puzzle/shaaft/files/digest-shaaft-0.5.0 b/games-puzzle/shaaft/files/digest-shaaft-0.5.0 index 6644c2b306bb..db0d17ce682d 100644 --- a/games-puzzle/shaaft/files/digest-shaaft-0.5.0 +++ b/games-puzzle/shaaft/files/digest-shaaft-0.5.0 @@ -1 +1,3 @@ MD5 c86524f286c60e3fd45b10d023a92db2 Shaaft-0.5.0.tar.bz2 512996 +RMD160 88441778220be57923aa6ca50de0d08a365ee9fc Shaaft-0.5.0.tar.bz2 512996 +SHA256 db8040c4fee36da9ec9653fd6c04ffb21112c4c9c2297ee66f08b94efa61dc80 Shaaft-0.5.0.tar.bz2 512996 diff --git a/games-puzzle/shaaft/files/shaaft-0.5.0-gcc41.patch b/games-puzzle/shaaft/files/shaaft-0.5.0-gcc41.patch new file mode 100644 index 000000000000..73310a138273 --- /dev/null +++ b/games-puzzle/shaaft/files/shaaft-0.5.0-gcc41.patch @@ -0,0 +1,11 @@ +--- utils/hashMap.hpp.old 2006-05-21 13:46:38.000000000 +0200 ++++ utils/hashMap.hpp 2006-05-21 13:47:22.000000000 +0200 +@@ -14,7 +14,7 @@ + // + #if defined( __GNUC__ ) + +-# if (__GNUC__ == 3) ++# if (__GNUC__ >= 3) + # include <ext/hash_map> + + # if (__GNUC_MINOR__ == 0) diff --git a/games-puzzle/shaaft/shaaft-0.5.0.ebuild b/games-puzzle/shaaft/shaaft-0.5.0.ebuild index 6d61090f5354..6709195fb577 100644 --- a/games-puzzle/shaaft/shaaft-0.5.0.ebuild +++ b/games-puzzle/shaaft/shaaft-0.5.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/shaaft-0.5.0.ebuild,v 1.8 2006/03/14 22:19:11 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/shaaft-0.5.0.ebuild,v 1.9 2006/05/21 12:00:22 tupone Exp $ inherit eutils games @@ -31,7 +31,8 @@ src_unpack() { game/main.cpp \ || die "sed main.cpp failed" - epatch "${FILESDIR}"/${P}-gcc34.patch + epatch "${FILESDIR}"/${P}-gcc34.patch \ + "${FILESDIR}/${P}"-gcc41.patch } src_install() { |