diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-11-29 16:01:44 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-11-29 16:01:44 +0000 |
commit | 90607786ff716f81efd6064819b862242d1783ba (patch) | |
tree | a1c661d7f646c40f9e689ac0b1c5c8f8b6be3095 /games-emulation | |
parent | Add experimental revision without runtime dependency over autotools, trying t... (diff) | |
download | historical-90607786ff716f81efd6064819b862242d1783ba.tar.gz historical-90607786ff716f81efd6064819b862242d1783ba.tar.bz2 historical-90607786ff716f81efd6064819b862242d1783ba.zip |
Overflow fix. Bug #329055
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/fceux/ChangeLog | 6 | ||||
-rw-r--r-- | games-emulation/fceux/Manifest | 5 | ||||
-rw-r--r-- | games-emulation/fceux/fceux-2.1.4a.ebuild | 5 | ||||
-rw-r--r-- | games-emulation/fceux/files/fceux-2.1.4a-ovflfix.patch | 22 |
4 files changed, 33 insertions, 5 deletions
diff --git a/games-emulation/fceux/ChangeLog b/games-emulation/fceux/ChangeLog index 0aaf527e974d..ad4878f5f363 100644 --- a/games-emulation/fceux/ChangeLog +++ b/games-emulation/fceux/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/fceux # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/ChangeLog,v 1.9 2010/11/20 10:51:02 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/ChangeLog,v 1.10 2010/11/29 16:01:44 tupone Exp $ + + 29 Nov 2010; Tupone Alfredo <tupone@gentoo.org> fceux-2.1.4a.ebuild, + +files/fceux-2.1.4a-ovflfix.patch: + Overflow fix. Bug #329055 by SpanKY <vapier@gentoo.org> 20 Nov 2010; Michael Sterrett <mr_bones_@gentoo.org> fceux-2.1.4a.ebuild: use scons-utils diff --git a/games-emulation/fceux/Manifest b/games-emulation/fceux/Manifest index 62e21ae8c08e..617e299cc6df 100644 --- a/games-emulation/fceux/Manifest +++ b/games-emulation/fceux/Manifest @@ -1,4 +1,5 @@ +AUX fceux-2.1.4a-ovflfix.patch 618 RMD160 38db2f73ae9641f64559f4db6b5d0899f853a8d9 SHA1 9ad948318fd9b57cd409ba385ed3d7486dfcf838 SHA256 8284f8041d5b9a91cf54be2970df06b8568446a2b235cb16761326e9a3ff152c DIST fceux-2.1.4a.src.tar.bz2 5083564 RMD160 c36723db343050f90a923869918596b7092cf1f5 SHA1 5297c873d8de397538869ea8b23816d457d13add SHA256 267aef2cf05c510f66eca8330060c495a3c18ad22c73bda42df73d8d8330df3a -EBUILD fceux-2.1.4a.ebuild 1339 RMD160 96a4b4b67ce2bb8ec86a54ac5ec48ddcd1c2d56d SHA1 2ad0fbf89873f3b6fc3faca07520d9ebca45eda7 SHA256 22780cc2263d5f25b968a276a925c9a5eb7dab4bc48f06f83385489c156aed90 -MISC ChangeLog 1272 RMD160 2f4b87ad1446c481691b4098f4a9da845f29d937 SHA1 c498b5bc87fd905250caa482a2aa86c6b5cb48f3 SHA256 4ef8b97aa57534d1c5cfc3c10a0e50ea57a9ef64f6fa920f45d49d8b67236ce9 +EBUILD fceux-2.1.4a.ebuild 1384 RMD160 1d4ff42bd27a806b89d5d7a1fa95de500b725cd6 SHA1 ba9cda5f1e29302836a00eb832559ead0def26df SHA256 1104475a4004f44384416dd77b161d5f84e305c6b3947276819992511bfd692a +MISC ChangeLog 1437 RMD160 12fba7eb4a3b529e242f78754774fea5299d244f SHA1 cda2e03de00e68727c2bd3d723bd43995af18f22 SHA256 cc5606305fca76131d9affb788346aa9cc90e883388da8c13cad0b6ea8ef41aa MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-emulation/fceux/fceux-2.1.4a.ebuild b/games-emulation/fceux/fceux-2.1.4a.ebuild index 0abe0ce12bd9..7f0b6b19a414 100644 --- a/games-emulation/fceux/fceux-2.1.4a.ebuild +++ b/games-emulation/fceux/fceux-2.1.4a.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/fceux-2.1.4a.ebuild,v 1.5 2010/11/20 10:51:02 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/fceux-2.1.4a.ebuild,v 1.6 2010/11/29 16:01:44 tupone Exp $ EAPI=2 -inherit scons-utils games +inherit eutils scons-utils games DESCRIPTION="A portable Famicom/NES emulator, an evolution of the original FCE Ultra" HOMEPAGE="http://fceux.com/" @@ -26,6 +26,7 @@ RDEPEND="lua? ( dev-lang/lua ) S=${WORKDIR}/fceu${PV} src_prepare() { + epatch "${FILESDIR}"/${P}-ovflfix.patch # mentioned in bug #335836 if ! use lua ; then sed -i -e '/_S9XLUA_H/d' SConstruct || die diff --git a/games-emulation/fceux/files/fceux-2.1.4a-ovflfix.patch b/games-emulation/fceux/files/fceux-2.1.4a-ovflfix.patch new file mode 100644 index 000000000000..af1b32c5e383 --- /dev/null +++ b/games-emulation/fceux/files/fceux-2.1.4a-ovflfix.patch @@ -0,0 +1,22 @@ +--- src/input/bworld.cpp.old 2010-11-29 16:36:13.000000000 +0100 ++++ src/input/bworld.cpp 2010-11-29 16:37:26.000000000 +0100 +@@ -22,7 +22,7 @@ + #include "share.h"
+
+ static int seq,ptr,bit,cnt,have;
+-static uint8 bdata[20];
++static uint8 bdata[32];
+
+
+ static uint8 Read(int w, uint8 ret)
+--- src/drivers/common/cheat.cpp.old 2010-11-29 16:23:44.000000000 +0100 ++++ src/drivers/common/cheat.cpp 2010-11-29 16:24:24.000000000 +0100 +@@ -404,7 +404,7 @@ + clo:
+
+ printf("\nSelection [%d]> ",def+1);
+- fgets(tmp,256,stdin);
++ fgets(tmp,16,stdin);
+ if(tmp[0]=='\n')
+ return def;
+ c=tolower(tmp[0]);
|