summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2017-12-22 16:22:53 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-23 14:09:54 +0100
commita403a0e3c0e7d99bba4f1ad6f758334ddad37e2f (patch)
tree693772e520d1f4328b59c3f1d624fe2ad01f30b9 /games-emulation/mednafen
parentgames-emulation/higan: remove unused patch (diff)
downloadgentoo-a403a0e3c0e7d99bba4f1ad6f758334ddad37e2f.tar.gz
gentoo-a403a0e3c0e7d99bba4f1ad6f758334ddad37e2f.tar.bz2
gentoo-a403a0e3c0e7d99bba4f1ad6f758334ddad37e2f.zip
games-emulation/mednafen: remove unused patches
Diffstat (limited to 'games-emulation/mednafen')
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch57
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch30
2 files changed, 0 insertions, 87 deletions
diff --git a/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch
deleted file mode 100644
index a0a52997a27b..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-Remove flags that subvert user choice in Gentoo
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -88,21 +88,7 @@
- AC_CHECK_LIB([z], [zlibVersion], ZLIB_LIBS="-lz", AC_MSG_ERROR([*** zlib not found!]))
- AC_SUBST([ZLIB_LIBS])
-
--dnl -fno-fast-math and -fno-unsafe-math-optimizations to make sure it's disabled, as the fast-math feature on certain older
--dnl versions of gcc produces horribly broken code(and even when it's working correctly, it can have somewhat unpredictable effects).
--dnl
--dnl -fno-aggressive-loop-optimizations because I don't trust gcc's aggressive loop optimizations, and there miiight be old code
--dnl in Mednafen that would cause problems.
--dnl
--dnl -fomit-frame-pointer is required for some x86 inline assembly to compile.
--dnl
- OPTIMIZER_FLAGS=""
--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([-fno-ipa-icf], OPTIMIZER_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS)
--
- dnl
- dnl Aggressively try to disable PIC and PIE, as it has a significant performance overhead and will
- dnl break some code(with compile-time failures or run-time assert()s triggering).
-@@ -110,12 +95,6 @@
- dnl Use -fwrapv instead of -fno-strict-overflow; -fno-strict-overflow is buggy on gcc and does not work as documented/implied.
- dnl
- CODEGEN_FLAGS=""
--AX_CFLAGS_GCC_OPTION([-fno-pic], CODEGEN_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-pie], CODEGEN_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-PIC], CODEGEN_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-PIE], CODEGEN_FLAGS)
--AX_CFLAGS_GCC_OPTION([-nopie], CODEGEN_FLAGS)
--AX_CFLAGS_GCC_OPTION([-no-pie], CODEGEN_FLAGS)
- AX_CFLAGS_GCC_OPTION([-fwrapv], CODEGEN_FLAGS)
- AX_CFLAGS_GCC_OPTION([-fjump-tables], CODEGEN_FLAGS)
-
-@@ -139,9 +118,6 @@
- # Used as needed in Makefile.am:
- #
- NO_STACK_PROTECTOR_FLAGS=""
--AX_CFLAGS_GCC_OPTION([-fno-stack-protector], NO_STACK_PROTECTOR_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-stack-protector-all], NO_STACK_PROTECTOR_FLAGS)
--AX_CFLAGS_GCC_OPTION([-fno-stack-protector-strong], NO_STACK_PROTECTOR_FLAGS)
- AC_SUBST(NO_STACK_PROTECTOR_FLAGS)
-
- # -----------------------------------
-@@ -165,7 +141,6 @@
- # Begin ss flags
- #
- SS_EXTRA_FLAGS=""
--AX_CFLAGS_GCC_OPTION([-mtune=haswell], SS_EXTRA_FLAGS)
- AC_SUBST(SS_EXTRA_FLAGS)
- #
- # End ss flags
diff --git a/games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch
deleted file mode 100644
index 7f78d385d8eb..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Use system minizip instead of bundled one
-
---- a/include/mednafen/compress/Makefile.am.inc
-+++ b/include/mednafen/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
---- a/include/mednafen/file.cpp
-+++ b/include/mednafen/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"
---- a/include/mednafen/Makefile.am
-+++ b/include/mednafen/Makefile.am
-@@ -6,7 +6,7 @@
- bin_PROGRAMS = mednafen
-
- mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp Time.cpp mednafen.cpp git.cpp file.cpp general.cpp memory.cpp netplay.cpp state.cpp state_rewind.cpp movie.cpp player.cpp PSFLoader.cpp SSFLoader.cpp SNSFLoader.cpp SPCReader.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
-