diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-05-13 01:11:13 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-05-13 01:11:13 +0000 |
commit | 1a2b7ab59c5dc4bb386ecde1b869ba61aa6b8dd8 (patch) | |
tree | 8e6fdbc91ba14b7b1c0deb8dfa22d0a8fa805f7b /games-emulation/mednafen/files | |
parent | update notation of bugs filed upstream (diff) | |
download | gentoo-2-1a2b7ab59c5dc4bb386ecde1b869ba61aa6b8dd8.tar.gz gentoo-2-1a2b7ab59c5dc4bb386ecde1b869ba61aa6b8dd8.tar.bz2 gentoo-2-1a2b7ab59c5dc4bb386ecde1b869ba61aa6b8dd8.zip |
version bump
(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-emulation/mednafen/files')
3 files changed, 66 insertions, 0 deletions
diff --git a/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch b/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch new file mode 100644 index 000000000000..14c69d94ef0e --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.4-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.38.4-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.38.4-cflags.patch new file mode 100644 index 000000000000..c43af818b6b8 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.4-cflags.patch @@ -0,0 +1,28 @@ +--- configure.ac.orig ++++ configure.ac +@@ -80,25 +80,6 @@ + AC_CHECK_LIB([z], [zlibVersion],[], AC_MSG_ERROR([*** zlib not found!])) + LIBS="$LIBS -lz" + +-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 +-dnl -fomit-frame-pointer is required for some x86 inline assembly to compile. +-dnl +-dnl November 28, 2014: Use -fwrapv unconditionally instead of -fno-strict-overflow, -fno-strict-overflow is buggy +-dnl and does not work as documented/implied. +-dnl +-AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS) +-AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS) +-AX_CFLAGS_GCC_OPTION([-fno-aggressive-loop-optimizations], OPTIMIZER_FLAGS) +-AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS) +-AX_CFLAGS_GCC_OPTION([-fwrapv], OPTIMIZER_FLAGS) +- +- + WARNING_FLAGS="" + AX_CFLAGS_GCC_OPTION([-Wall], WARNING_FLAGS) + AX_CFLAGS_GCC_OPTION([-Wshadow], WARNING_FLAGS) diff --git a/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch new file mode 100644 index 000000000000..5d930dae1b2c --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch @@ -0,0 +1,27 @@ +--- mednafen.orig/src/compress/Makefile.am.inc ++++ mednafen/src/compress/Makefile.am.inc +@@ -1 +1 @@ +-mednafen_SOURCES += compress/minilzo.c compress/ioapi.c compress/unzip.c compress/GZFileStream.cpp compress/ZLInflateFilter.cpp ++mednafen_SOURCES += compress/minilzo.c compress/ioapi.c compress/GZFileStream.cpp compress/ZLInflateFilter.cpp +--- mednafen.orig/src/file.cpp ++++ mednafen/src/file.cpp +@@ -29,7 +29,7 @@ + #include <errno.h> + #include <trio/trio.h> + +-#include "compress/unzip.h" ++#include <minizip/unzip.h> + + #include "file.h" + #include "general.h" +--- mednafen.orig/src/Makefile.am ++++ mednafen/src/Makefile.am +@@ -6,7 +6,7 @@ + bin_PROGRAMS = mednafen + + mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp mednafen.cpp git.cpp file.cpp general.cpp memory.cpp netplay.cpp state.cpp state_rewind.cpp movie.cpp player.cpp PSFLoader.cpp tests.cpp qtrecord.cpp Stream.cpp MemoryStream.cpp FileStream.cpp IPSPatcher.cpp +-mednafen_LDADD = trio/libtrio.a ++mednafen_LDADD = trio/libtrio.a -lminizip + mednafen_DEPENDENCIES = trio/libtrio.a + + if HAVE_SDL |