diff options
author | Tristan Heaven <tristan@gentoo.org> | 2009-06-18 00:16:46 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2009-06-18 00:16:46 +0000 |
commit | 975af5f38bc2af383ec5eed701b4b16637195462 (patch) | |
tree | 5dad860a66e822ef323bfbae034f38eecaa8e014 /games-arcade | |
parent | Add missing lua dependency (#274447). (diff) | |
download | historical-975af5f38bc2af383ec5eed701b4b16637195462.tar.gz historical-975af5f38bc2af383ec5eed701b4b16637195462.tar.bz2 historical-975af5f38bc2af383ec5eed701b4b16637195462.zip |
Fix building with gcc-4.4, bug #273500
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/yarsrevenge/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/yarsrevenge/Manifest | 13 | ||||
-rw-r--r-- | games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch | 10 | ||||
-rw-r--r-- | games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild | 17 |
4 files changed, 31 insertions, 17 deletions
diff --git a/games-arcade/yarsrevenge/ChangeLog b/games-arcade/yarsrevenge/ChangeLog index 59a8d838e997..3916a3bc2dd7 100644 --- a/games-arcade/yarsrevenge/ChangeLog +++ b/games-arcade/yarsrevenge/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/yarsrevenge -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/yarsrevenge/ChangeLog,v 1.9 2008/04/30 22:56:34 nyhm Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/yarsrevenge/ChangeLog,v 1.10 2009/06/18 00:16:46 nyhm Exp $ + + 18 Jun 2009; Tristan Heaven <nyhm@gentoo.org> yarsrevenge-0.99.ebuild, + +files/yarsrevenge-0.99-gcc44.patch: + Fix building with gcc-4.4, bug #273500 30 Apr 2008; Tristan Heaven <nyhm@gentoo.org> +files/yarsrevenge-0.99-gcc43.patch, yarsrevenge-0.99.ebuild: diff --git a/games-arcade/yarsrevenge/Manifest b/games-arcade/yarsrevenge/Manifest index f3e6c196316b..8cdd36bf4014 100644 --- a/games-arcade/yarsrevenge/Manifest +++ b/games-arcade/yarsrevenge/Manifest @@ -3,14 +3,15 @@ Hash: SHA1 AUX 0.99-math.patch 195 RMD160 9425eac4f375f6df5adb7b767c10d2d0ab4ed172 SHA1 29609a5c36e2e79f514644be39e52a5534d6e8c7 SHA256 94c1f653fe30bc9565fe7228061c12848d6bfdccbe58c190452cbb4677a706b0 AUX yarsrevenge-0.99-gcc43.patch 215 RMD160 a7651063f226da4f2cc7ecb5c028da4dd1e0fd8a SHA1 acf78ea61a5647c85f230d6ae08cc05defee0d86 SHA256 792024fb544dc3d1febcbd70c7f8c43b6354c50ef7f6d924fa08fd1533597ec3 +AUX yarsrevenge-0.99-gcc44.patch 254 RMD160 60653817874bac17b37634952c09c823de0213b7 SHA1 b2200a7cc13dfff6cd6a1fa29958b49c193ad20d SHA256 005b9b5e114ef5fcbe616d481ccad90fb6fe4f9d4f026cd5d453ef318aace99b DIST yar-0.99.tar.gz 535043 RMD160 cc758aae71e6c0c136e32aa466473f2d329387b8 SHA1 a3da4f04c49f73e685f30a448ae4f102be964cce SHA256 2aeb58bd1fedaf5d35f217dc0be13457edec48cf890a7684ae515b818b70662d -EBUILD yarsrevenge-0.99.ebuild 808 RMD160 146b77b62a850f9095ca72786abeefe3839df40d SHA1 680e16a0f85d5b174583e7700973e1dc06ee0f90 SHA256 8093666d6ddc2a7999fda3ec5c0cc1879e829892e0c6547acf4fe1594e4b73c4 -MISC ChangeLog 1161 RMD160 8f229e0fe6b644928a309038a5d3d79e21278479 SHA1 0d0e22615b8e826f7933c2946c590f1c4cd91b18 SHA256 d9d2f884402afe774ac58bef7b002abb3e91b295377315ef20ef2c31d7d60535 +EBUILD yarsrevenge-0.99.ebuild 805 RMD160 72cc4b7f39c73a7877110eacfb45c0492342dfff SHA1 8bbdb18c7507149e28fc27a396155418dfc29d5b SHA256 bcadfc643be1d70a0f80d7d059637fd3ae8950df327d52b2f9f12cac0ebe8df6 +MISC ChangeLog 1316 RMD160 23d64594ea5a454edf66041dfa8614670bb2019f SHA1 34baa0ec20fcf99ee87fcde09a59457b7a93d4ec SHA256 3882fb71a27e4bfcad7cbdd70d751ae733368d4942f45b144344507c359fa9f0 MISC metadata.xml 327 RMD160 8333ce43f38a12f15b37e59bd88c09599e4a6390 SHA1 df479598f7493800a2f010433d4cb54bc23ae052 SHA256 6728bb3560b622ae11771b252674008166f778b2cc80feff5eb75a8894da47ed -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAkgY+SgACgkQdz7hIScOURHtxgCcDlfC/QYYSpELzZ2igyDPP0kK -xfAAnjaAyAy7oYqaVJhldPqUQ+ev8IrK -=gH16 +iEYEARECAAYFAko5h3QACgkQdz7hIScOURGp6wCg9txM28XJJAh9I+cvnScQmY9j +6OoAn3hb1A61T8qmYqrBH4/GS4P1+8kq +=z10N -----END PGP SIGNATURE----- diff --git a/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch new file mode 100644 index 000000000000..fca41cfbdf35 --- /dev/null +++ b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch @@ -0,0 +1,10 @@ +--- yar/game.cpp ++++ yar/game.cpp +@@ -15,6 +15,7 @@ + * * + ***************************************************************************/ + ++#include <cstdio> + #include "yar.hxx" + + diff --git a/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild b/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild index 21d5feaaea24..1528391b71c2 100644 --- a/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild +++ b/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild,v 1.9 2008/04/30 22:56:34 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild,v 1.10 2009/06/18 00:16:46 nyhm Exp $ +EAPI=2 inherit eutils games DESCRIPTION="remake of the Atari 2600 classic Yar's Revenge" @@ -17,13 +18,11 @@ DEPEND="media-libs/libsdl" S=${WORKDIR}/yar-${PV} -src_unpack() { - unpack ${A} - cd "${S}" - epatch \ - "${FILESDIR}"/${PV}-math.patch \ - "${FILESDIR}"/${P}-gcc43.patch -} +PATCHES=( + "${FILESDIR}"/${PV}-math.patch + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-gcc44.patch +) src_install() { emake DESTDIR="${D}" install || die "emake install failed" |