diff options
-rw-r--r-- | games-emulation/tuxnes/ChangeLog | 8 | ||||
-rw-r--r-- | games-emulation/tuxnes/Manifest | 5 | ||||
-rw-r--r-- | games-emulation/tuxnes/files/tuxnes-0.75-gcc43.patch | 11 | ||||
-rw-r--r-- | games-emulation/tuxnes/tuxnes-0.75-r1.ebuild | 16 |
4 files changed, 27 insertions, 13 deletions
diff --git a/games-emulation/tuxnes/ChangeLog b/games-emulation/tuxnes/ChangeLog index 782d0cbfa062..5807acd0568b 100644 --- a/games-emulation/tuxnes/ChangeLog +++ b/games-emulation/tuxnes/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/tuxnes -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/ChangeLog,v 1.9 2007/07/02 16:11:11 nyhm Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/ChangeLog,v 1.10 2009/03/14 08:08:29 mr_bones_ Exp $ + + 14 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org> + +files/tuxnes-0.75-gcc43.patch, tuxnes-0.75-r1.ebuild: + fix open call (patch from Magnus Granberg via bug #261676) *tuxnes-0.75-r1 (02 Jul 2007) diff --git a/games-emulation/tuxnes/Manifest b/games-emulation/tuxnes/Manifest index 81589920af2a..50f0b80ece5c 100644 --- a/games-emulation/tuxnes/Manifest +++ b/games-emulation/tuxnes/Manifest @@ -1,8 +1,9 @@ AUX tuxnes-0.75-configure.in.patch 1750 RMD160 419627265a1ad037577a426b7ed2621e0b2a350f SHA1 f5c50e91e3b49ba3980df0df24fbbc4fcfd11bf7 SHA256 e18820352931cccc3f48307214946d027b766f3224a050b499c0f650210f3c02 AUX tuxnes-0.75-exec-stack.patch 387 RMD160 5906d11d02f47d482e114ab236d656e9469cb861 SHA1 f8cb6f1de5582a38a758bb891167d1383fb6b73e SHA256 9dd200c6fa450b6336b181707681113b4d9e3d18804af72739a1ec1d94849a46 AUX tuxnes-0.75-gcc34.patch 1068 RMD160 f574b3cbe13c3fffb7091c925cf316c2ccae7f5b SHA1 96c28b4e1fad6446b828e7d2a29a12b7409e4cd9 SHA256 15bd1c1a83cf143416d53676007957e4764930e02b25fd3da5b988ebb422e9c0 +AUX tuxnes-0.75-gcc43.patch 398 RMD160 45ea4f9bdea343f516e645f7cc7eb3f7609d48be SHA1 f628f66e871e5664d75946e009e0fc7e051a9302 SHA256 8b96120db828b5c95ed8146f3c658a62db9339d09fd691fb546fdcf79a376f7a AUX tuxnes-0.75-include.patch 885 RMD160 043f601f56f62a64b0b15157be002ba26dd62514 SHA1 d6e2cfe789c073a1fa2b7918a03393f27067df37 SHA256 88d6f5053ceba0164437282ba4bf3b5e71116ed54d6f61b5d0beca5bc8dbdd13 DIST tuxnes-0.75.tar.gz 198735 RMD160 d4a94e00f7c90cbf6fbf19537ede22aca05eeafd SHA1 1729cb3a33a5a3e0c8fa81a1341f912cd0b8d18b SHA256 217fc57fdd2a5ec360c197ea36110ec929d3f27c88cf875f0f4723b3496ed7c2 -EBUILD tuxnes-0.75-r1.ebuild 1208 RMD160 40b01b6b27cf3b41d52bc330069e5569359b3484 SHA1 5c0e26d87922fbddbc8de87c7a76f64af3d71fdc SHA256 f64a173f24060ce19bf76ab172836d1cff2746e22afa02b20bb64ca25867c0d1 -MISC ChangeLog 1354 RMD160 fc60e638a66e22b2c520851cf2ccc08eccb223a4 SHA1 bab86281f558ef883ed2984bb585cb652e36d2e3 SHA256 6eb01f70b2c370f45f52e94da97738fb97a51bef5690d8e547ba797c443901c8 +EBUILD tuxnes-0.75-r1.ebuild 1194 RMD160 d78e51a8e7d874389634943d3f4df91f77bbda3a SHA1 168cafe45409cac7a8ea9a404625472018c19c8d SHA256 6dbb4159aabe8e69ec56fa702a250931c8302d68f7c0334651b06210717c53ad +MISC ChangeLog 1534 RMD160 9f1f469f7fcd32eaf6f5065f7dc264795bcd460c SHA1 a87cf935c0b900427fb19bbc53bce74a1ec6b09f SHA256 56b79360dbfb8dc7c229c84591ad9fb735071f9c7de4fa067829ff11177e5d84 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-emulation/tuxnes/files/tuxnes-0.75-gcc43.patch b/games-emulation/tuxnes/files/tuxnes-0.75-gcc43.patch new file mode 100644 index 000000000000..ba035ef57b78 --- /dev/null +++ b/games-emulation/tuxnes/files/tuxnes-0.75-gcc43.patch @@ -0,0 +1,11 @@ +--- emu.c 2009-03-11 23:10:09.000000000 +0000 ++++ emu.c 2009-03-11 23:17:13.000000000 +0000 +@@ -1271,7 +1271,7 @@ + gamegenie = 0; + + /* check for the default output device */ +- if ((audiofd = open (DSP, O_CREAT | O_WRONLY | O_APPEND)) < 0) ++ if ((audiofd = open (DSP, O_CREAT | O_WRONLY | O_APPEND, 0666)) < 0) + sound_config.audiofile = NULL; + else { + sound_config.audiofile = DSP; diff --git a/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild b/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild index 5ebb6c950c02..46292e683788 100644 --- a/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild +++ b/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild,v 1.1 2007/07/02 16:11:11 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/tuxnes-0.75-r1.ebuild,v 1.2 2009/03/14 08:08:29 mr_bones_ Exp $ +EAPI=2 inherit autotools eutils games DESCRIPTION="emulator for the 8-bit Nintendo Entertainment System" @@ -25,24 +26,21 @@ DEPEND="${RDEPEND} x11-proto/xextproto x11-proto/xproto )" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch \ "${FILESDIR}"/${P}-configure.in.patch \ "${FILESDIR}"/${P}-gcc34.patch \ + "${FILESDIR}"/${P}-gcc43.patch \ "${FILESDIR}"/${P}-include.patch \ "${FILESDIR}"/${P}-exec-stack.patch eautoreconf } -src_compile() { +src_configure() { egamesconf \ --without-w \ $(use_with ggi) \ - $(use_with X x) \ - || die - emake || die "emake failed" + $(use_with X x) } src_install() { |