mr_bones_ 14/12/31 07:53:54 Modified: fceux-2.1.5-gcc46.patch fceux-2.1.5-gcc47.patch fceux-2.1.5-underlink.patch Added: fceux-2.2.2-warnings.patch Log: version bump (bug #466382); create menu entry (bug #499938) (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.2 games-emulation/fceux/files/fceux-2.1.5-gcc46.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-gcc46.patch?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-gcc46.patch?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-gcc46.patch?r1=1.1&r2=1.2 Index: fceux-2.1.5-gcc46.patch =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-gcc46.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- fceux-2.1.5-gcc46.patch 12 Mar 2012 19:12:43 -0000 1.1 +++ fceux-2.1.5-gcc46.patch 31 Dec 2014 07:53:54 -0000 1.2 @@ -1,6 +1,5 @@ -diff -Naur a/fceu2.1.5/src/file.cpp b/fceu2.1.5/src/file.cpp ---- a/fceu2.1.5/src/file.cpp 2010-09-19 00:05:09.000000000 +0000 -+++ b/fceu2.1.5/src/file.cpp 2012-03-01 19:21:25.856204727 +0000 +--- a/fceu2.1.5/src/file.cpp ++++ b/fceu2.1.5/src/file.cpp @@ -310,7 +310,7 @@ if(magic==0x088b1f) { // maybe gzip... 1.2 games-emulation/fceux/files/fceux-2.1.5-gcc47.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-gcc47.patch?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-gcc47.patch?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-gcc47.patch?r1=1.1&r2=1.2 Index: fceux-2.1.5-gcc47.patch =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-gcc47.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- fceux-2.1.5-gcc47.patch 26 Oct 2012 07:31:51 -0000 1.1 +++ fceux-2.1.5-gcc47.patch 31 Dec 2014 07:53:54 -0000 1.2 @@ -1,5 +1,5 @@ ---- src/utils/endian.h.old 2012-10-26 09:07:24.000000000 +0200 -+++ src/utils/endian.h 2012-10-26 09:08:25.000000000 +0200 +--- src/utils/endian.h.old ++++ src/utils/endian.h @@ -93,19 +93,6 @@ } } 1.3 games-emulation/fceux/files/fceux-2.1.5-underlink.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-underlink.patch?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-underlink.patch?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-underlink.patch?r1=1.2&r2=1.3 Index: fceux-2.1.5-underlink.patch =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-emulation/fceux/files/fceux-2.1.5-underlink.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- fceux-2.1.5-underlink.patch 21 Jun 2011 06:21:34 -0000 1.2 +++ fceux-2.1.5-underlink.patch 31 Dec 2014 07:53:54 -0000 1.3 @@ -1,5 +1,5 @@ ---- SConstruct.org 2011-06-07 21:33:28.876609681 +0200 -+++ SConstruct 2011-06-07 21:34:11.420368249 +0200 +--- SConstruct.org ++++ SConstruct @@ -70,6 +70,10 @@ env.ParseConfig('pkg-config --cflags --libs gtk+-3.0') env.Append(CPPDEFINES=["_GTK3"]) 1.1 games-emulation/fceux/files/fceux-2.2.2-warnings.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.2.2-warnings.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/fceux/files/fceux-2.2.2-warnings.patch?rev=1.1&content-type=text/plain Index: fceux-2.2.2-warnings.patch =================================================================== diff -ru fceux-2.2.2.orig/src/input.cpp fceux-2.2.2/src/input.cpp --- fceux-2.2.2.orig/src/input.cpp 2013-06-15 15:44:11.000000000 -0400 +++ fceux-2.2.2/src/input.cpp 2014-12-31 01:32:46.302001912 -0500 @@ -1161,7 +1161,7 @@ // FIXME this will always evaluate to true, should this be // if (*lastSavestateMade...) to check if it holds a string or just // a '\0'? - if (lastSavestateMade && (undoSS || redoSS)) + if (*lastSavestateMade && (undoSS || redoSS)) SwapSaveState(); } diff -ru fceux-2.2.2.orig/src/state.cpp fceux-2.2.2/src/state.cpp --- fceux-2.2.2.orig/src/state.cpp 2013-09-18 19:03:59.000000000 -0400 +++ fceux-2.2.2/src/state.cpp 2014-12-31 01:33:11.453155054 -0500 @@ -1048,7 +1048,7 @@ //Both files must exist //-------------------------------------------------------------------------------------------- - if (!lastSavestateMade) + if (!*lastSavestateMade) { FCEUI_DispMessage("Can't Undo",0); FCEUI_printf("Undo savestate was attempted but unsuccessful because there was not a recently used savestate.\n"); @@ -1153,7 +1153,7 @@ void RedoLoadState() { if (!redoLS) return; - if (lastLoadstateMade && redoLS) + if (*lastLoadstateMade && redoLS) { FCEUSS_Load(lastLoadstateMade); FCEUI_printf("Redoing %s\n",lastLoadstateMade);