diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
commit | 7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch) | |
tree | 1684924656132935256e034f35f92abee6623265 /games-emulation/mednafen/files |
Added ebuilds for kogaion desktop
Diffstat (limited to 'games-emulation/mednafen/files')
4 files changed, 103 insertions, 0 deletions
diff --git a/games-emulation/mednafen/files/mednafen-0.9.21-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.21-zlib.patch new file mode 100644 index 00000000..2eec3ed1 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.21-zlib.patch @@ -0,0 +1,27 @@ +--- src/file.cpp.old 2012-05-06 13:20:45.762299681 +0200 ++++ src/file.cpp 2012-05-06 13:21:13.634342683 +0200 +@@ -33,7 +33,7 @@ + + + #include <zlib.h> +-#include "compress/unzip.h" ++#include <minizip/unzip.h> + + #include "file.h" + #include "general.h" +--- src/compress/Makefile.am.inc.old 2012-05-06 13:19:12.625839129 +0200 ++++ src/compress/Makefile.am.inc 2012-05-06 13:19:30.012618340 +0200 +@@ -1 +1 @@ +-mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c compress/unzip.c ++mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp +--- src/Makefile.am.old 2012-05-06 13:19:54.047930734 +0200 ++++ src/Makefile.am 2012-05-06 13:20:26.888624869 +0200 +@@ -5,7 +5,7 @@ + + bin_PROGRAMS = mednafen + mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp mednafen.cpp file.cpp general.cpp md5.cpp memory.cpp netplay.cpp state.cpp movie.cpp player.cpp PSFLoader.cpp tests.cpp qtrecord.cpp cdplay.cpp okiadpcm.cpp math_ops.cpp FileWrapper.cpp Stream.cpp +-mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@ ++mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@ -lminizip + mednafen_DEPENDENCIES = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a + + SUBDIRS += sexyal drivers diff --git a/games-emulation/mednafen/files/mednafen-0.9.28-automake-1.13.patch b/games-emulation/mednafen/files/mednafen-0.9.28-automake-1.13.patch new file mode 100644 index 00000000..14c69d94 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.28-automake-1.13.patch @@ -0,0 +1,11 @@ +--- mednafen-0.9.28-wip/mednafen/configure.ac ++++ mednafen-0.9.28-wip/mednafen/configure.ac +@@ -13,7 +13,7 @@ + AC_CANONICAL_TARGET + AM_INIT_AUTOMAKE([mednafen], $MEDNAFEN_VERSION) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES]) +-AM_CONFIG_HEADER([include/config.h:include/config.h.in]) ++AC_CONFIG_HEADERS([include/config.h:include/config.h.in]) + + AC_PROG_CC + AC_PROG_CPP diff --git a/games-emulation/mednafen/files/mednafen-0.9.28-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.28-cflags.patch new file mode 100644 index 00000000..0fca1c61 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.28-cflags.patch @@ -0,0 +1,35 @@ +--- configure.ac.orig 2013-01-25 13:30:36.167253683 -0500 ++++ configure.ac 2013-01-25 13:32:16.993678869 -0500 +@@ -90,21 +90,6 @@ + + dnl -fno-unit-at-a-time + +-OPTIMIZER_FLAGS="" +- +-dnl -ffast-math removed January 12, 2013. Don't re-add it, nor any of its sub-options(ESPECIALLY not -funsafe-math-optimizations), +-dnl it messes up certain code(NES resampler, for example) under certain conditions and alignments of the great celestial squid. +-dnl +-dnl In fact, let's explicitly disable it here with -fno-fast-math. +-dnl +-AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS) +-AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS) +- +-AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS) +-AX_CFLAGS_GCC_OPTION([-finline-limit=6000], OPTIMIZER_FLAGS) +-AX_CFLAGS_GCC_OPTION([--param large-function-growth=800], OPTIMIZER_FLAGS) +-AX_CFLAGS_GCC_OPTION([--param inline-unit-growth=175], OPTIMIZER_FLAGS) +-AX_CFLAGS_GCC_OPTION([--param max-inline-insns-single=10000], OPTIMIZER_FLAGS) + AX_NO_STRICT_OVERFLOW + + +@@ -138,8 +123,8 @@ + MDFN_COMPAT_FLAGS="" + AX_CFLAGS_GCC_OPTION([-fsigned-char], MDFN_COMPAT_FLAGS) + +-AC_SUBST([AM_CFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $OPTIMIZER_FLAGS $NO_STRICT_OVERFLOW_FLAGS") +-AC_SUBST([AM_CXXFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $OPTIMIZER_FLAGS $NO_STRICT_OVERFLOW_FLAGS") ++AC_SUBST([AM_CFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $NO_STRICT_OVERFLOW_FLAGS") ++AC_SUBST([AM_CXXFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $NO_STRICT_OVERFLOW_FLAGS") + + AM_CONDITIONAL(WANT_DEBUGGER, false) + diff --git a/games-emulation/mednafen/files/mednafen-0.9.28-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.28-zlib.patch new file mode 100644 index 00000000..8ada2009 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.28-zlib.patch @@ -0,0 +1,30 @@ +diff -ru mednafen.orig/src/Makefile.am mednafen/src/Makefile.am +--- mednafen.orig/src/Makefile.am 2013-01-12 08:41:03.000000000 -0500 ++++ mednafen/src/Makefile.am 2013-01-25 13:17:44.351619447 -0500 +@@ -5,7 +5,7 @@ + + bin_PROGRAMS = mednafen + mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp mednafen.cpp file.cpp general.cpp md5.cpp memory.cpp netplay.cpp state.cpp movie.cpp player.cpp PSFLoader.cpp tests.cpp qtrecord.cpp cdplay.cpp okiadpcm.cpp FileWrapper.cpp Stream.cpp MemoryStream.cpp FileStream.cpp +-mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@ ++mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@ -lminizip + mednafen_DEPENDENCIES = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a + + SUBDIRS += sexyal drivers +diff -ru mednafen.orig/src/compress/Makefile.am.inc mednafen/src/compress/Makefile.am.inc +--- mednafen.orig/src/compress/Makefile.am.inc 2010-12-18 04:03:19.000000000 -0500 ++++ mednafen/src/compress/Makefile.am.inc 2013-01-25 13:17:19.289508092 -0500 +@@ -1 +1 @@ +-mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c compress/unzip.c ++mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c +diff -ru mednafen.orig/src/file.cpp mednafen/src/file.cpp +--- mednafen.orig/src/file.cpp 2012-02-03 17:04:45.000000000 -0500 ++++ mednafen/src/file.cpp 2013-01-25 13:17:09.527854217 -0500 +@@ -33,7 +33,7 @@ + + + #include <zlib.h> +-#include "compress/unzip.h" ++#include <minizip/unzip.h> + + #include "file.h" + #include "general.h" |