summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-01-22 16:15:50 +0100
committerDavid Seifert <soap@gentoo.org>2017-01-22 16:15:50 +0100
commit2941f2f98a47de24699f9cce2380d07b1fad813f (patch)
tree2941ae9352253ccc5d7b6050fbdfc9f39503a709 /games-emulation/mednafen
parentgames-board/pokerth: x86 stable wrt bug #600862 (diff)
downloadgentoo-2941f2f98a47de24699f9cce2380d07b1fad813f.tar.gz
gentoo-2941f2f98a47de24699f9cce2380d07b1fad813f.tar.bz2
gentoo-2941f2f98a47de24699f9cce2380d07b1fad813f.zip
games-emulation/mednafen: Remove old
Gentoo-bug: 515296 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'games-emulation/mednafen')
-rw-r--r--games-emulation/mednafen/Manifest2
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.38.7-cflags.patch28
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch278
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.38.7-zlib.patch27
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch96
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.39.2-remove-cflags.patch24
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.39.2-zlib.patch27
-rw-r--r--games-emulation/mednafen/mednafen-0.9.38.7.ebuild68
-rw-r--r--games-emulation/mednafen/mednafen-0.9.39.2.ebuild73
9 files changed, 0 insertions, 623 deletions
diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest
index a8d7bacbbbf3..4fa53d1142b8 100644
--- a/games-emulation/mednafen/Manifest
+++ b/games-emulation/mednafen/Manifest
@@ -1,3 +1 @@
-DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42
-DIST mednafen-0.9.39.2.tar.bz2 4005259 SHA256 b42470b2ddf68ce0747f5b8ba4e1d1c3047fa8c45b8e168da43f3e2461ec34cc SHA512 e6d0f571ea82c9315336a02c8b91fc4b19d160a8ded3b0499b8a59d27c6f312a2dbe554e1e10e8ebd8616f862b59fe1d1d577e41942b31ab9b587b47c63b30dc WHIRLPOOL 4aa11afffd1b14890e1d85cbb38397e2c613c8087e441a015b9d362ccbb59476077d65245efdf3ebc8e3b16b79b953ab9acb71c77476f3e362746e95a2877a4e
DIST mednafen-0.9.41.tar.xz 3148348 SHA256 74736b9b52a7ba6270b67ae8e6c876a887e0e26a00a7d96bdd49af17992aac47 SHA512 d3c7707874eabbec41e5b725813d16e599f3ad89ecbd9c8e1264184d74ab2bf7a21a3f6fe177b6bc429f7bd56f9eea17a9a6fefce8e70b82e87a93d75f5d39c9 WHIRLPOOL f754a45f46a5cd18117b1b710dd7fed5ebcfb311bf4ed4b7961c99636c13559db75f83cf7b34122fb403b7794ddeec6af79469bb7743cb60a7840ffe807fa2d7
diff --git a/games-emulation/mednafen/files/mednafen-0.9.38.7-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.38.7-cflags.patch
deleted file mode 100644
index c43af818b6b8..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.38.7-cflags.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- 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.7-localedir.patch b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch
deleted file mode 100644
index 5f2b3c63f6b3..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch
+++ /dev/null
@@ -1,278 +0,0 @@
---- mednafen.orig/intl/Makefile.in
-+++ mednafen/intl/Makefile.in
-@@ -44,7 +44,7 @@
- includedir = @includedir@
- datarootdir = @datarootdir@
- datadir = @datadir@
--localedir = $(datadir)/locale
-+localedir = /usr/share/locale
- gettextsrcdir = $(datadir)/gettext/intl
- aliaspath = $(localedir)
- subdir = intl
---- mednafen.orig/src/cdplay/Makefile.am
-+++ mednafen/src/cdplay/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libcdplay.a
---- mednafen.orig/src/demo/Makefile.am
-+++ mednafen/src/demo/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libdemo.a
---- mednafen.orig/src/desa68/Makefile.am
-+++ mednafen/src/desa68/Makefile.am
-@@ -6,7 +6,7 @@
-
- AUTOMAKE_OPTIONS = subdir-objects
- AM_CFLAGS = @AM_CFLAGS@ -Wno-multichar
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libdesa68.a
---- mednafen.orig/src/drivers/Makefile.am
-+++ mednafen/src/drivers/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SDL_CFLAGS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ @SDL_CFLAGS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmdfnsdl.a
---- mednafen.orig/src/drivers_dos/Makefile.am
-+++ mednafen/src/drivers_dos/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SDL_CFLAGS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ @SDL_CFLAGS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmdfndos.a
---- mednafen.orig/src/gb/Makefile.am
-+++ mednafen/src/gb/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libgb.a
---- mednafen.orig/src/gba/Makefile.am
-+++ mednafen/src/gba/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libgba.a
---- mednafen.orig/src/hw_cpu/Makefile.am
-+++ mednafen/src/hw_cpu/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmdfnhwcpu.a
---- mednafen.orig/src/hw_misc/Makefile.am
-+++ mednafen/src/hw_misc/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmdfnhwmisc.a
---- mednafen.orig/src/hw_sound/Makefile.am
-+++ mednafen/src/hw_sound/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmdfnhwsound.a
---- mednafen.orig/src/hw_video/Makefile.am
-+++ mednafen/src/hw_video/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmdfnhwvideo.a
---- mednafen.orig/src/lynx/Makefile.am
-+++ mednafen/src/lynx/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = liblynx.a
---- mednafen.orig/src/Makefile.am
-+++ mednafen/src/Makefile.am
-@@ -1,6 +1,6 @@
- SUBDIRS = trio
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- bin_PROGRAMS = mednafen
---- mednafen.orig/src/md/Makefile.am
-+++ mednafen/src/md/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmd.a
---- mednafen.orig/src/nes/Makefile.am
-+++ mednafen/src/nes/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libnes.a
---- mednafen.orig/src/ngp/Makefile.am
-+++ mednafen/src/ngp/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ -fno-strict-aliasing
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ -fno-strict-aliasing
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libngp.a
---- mednafen.orig/src/pce/Makefile.am
-+++ mednafen/src/pce/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libpce.a
---- mednafen.orig/src/pce_fast/Makefile.am
-+++ mednafen/src/pce_fast/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libpce_fast.a
---- mednafen.orig/src/pcfx/Makefile.am
-+++ mednafen/src/pcfx/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libpcfx.a
---- mednafen.orig/src/psx/Makefile.am
-+++ mednafen/src/psx/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @MMX_CFLAGS@ @SSE_CFLAGS@ @SSE2_CFLAGS@ -funroll-loops
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ @MMX_CFLAGS@ @SSE_CFLAGS@ @SSE2_CFLAGS@ -funroll-loops
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libpsx.a
---- mednafen.orig/src/quicklz/Makefile.am
-+++ mednafen/src/quicklz/Makefile.am
-@@ -1,6 +1,6 @@
- AM_CFLAGS = @AM_CFLAGS@ -fno-strict-aliasing -Wno-shadow -Wno-unused-but-set-variable
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ -fno-strict-aliasing
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ -fno-strict-aliasing
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmdfnquicklz.a
---- mednafen.orig/src/sexyal/Makefile.am
-+++ mednafen/src/sexyal/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SDL_CFLAGS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ @SDL_CFLAGS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libsexyal.a
---- mednafen.orig/src/sms/Makefile.am
-+++ mednafen/src/sms/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libsms.a
---- mednafen.orig/src/snes/Makefile.am
-+++ mednafen/src/snes/Makefile.am
-@@ -1,7 +1,7 @@
- AM_CFLAGS = @AM_CFLAGS@ @SNES_EXTRA_FLAGS@
- AM_CXXFLAGS = @AM_CXXFLAGS@ @SNES_EXTRA_FLAGS@ @SNES_EXTRA_CXXFLAGS@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ -DNOMINMAX
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ -DNOMINMAX
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl -I$(srcdir)/src/lib
-
- noinst_LIBRARIES = libsnes.a
---- mednafen.orig/src/snes_faust/Makefile.am
-+++ mednafen/src/snes_faust/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @MMX_CFLAGS@ @SSE_CFLAGS@ @SSE2_CFLAGS@ -funroll-loops
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ @MMX_CFLAGS@ @SSE_CFLAGS@ @SSE2_CFLAGS@ -funroll-loops
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libsnes_faust.a
---- mednafen.orig/src/sound/Makefile.am
-+++ mednafen/src/sound/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmdfnsound.a
---- mednafen.orig/src/trio/Makefile.am
-+++ mednafen/src/trio/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @TRIO_CFLAGS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ @TRIO_CFLAGS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libtrio.a
---- mednafen.orig/src/vb/Makefile.am
-+++ mednafen/src/vb/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ -fno-strict-aliasing
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@ -fno-strict-aliasing
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libvb.a
---- mednafen.orig/src/wswan/Makefile.am
-+++ mednafen/src/wswan/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"/usr/share/locale\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libwswan.a
diff --git a/games-emulation/mednafen/files/mednafen-0.9.38.7-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.38.7-zlib.patch
deleted file mode 100644
index 510fb1c4a7a5..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.38.7-zlib.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- mednafen.orig/include/mednafen/compress/Makefile.am.inc
-+++ mednafen/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
---- mednafen.orig/include/mednafen/file.cpp
-+++ mednafen/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"
---- mednafen.orig/include/mednafen/Makefile.am
-+++ mednafen/include/mednafen/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 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
diff --git a/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch b/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch
deleted file mode 100644
index 82ab5a688b6c..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch
+++ /dev/null
@@ -1,96 +0,0 @@
---- a/include/mednafen/desa68/Makefile.am
-+++ b/include/mednafen/desa68/Makefile.am
-@@ -6,7 +6,7 @@
-
- AUTOMAKE_OPTIONS = subdir-objects
- AM_CFLAGS = @AM_CFLAGS@ -Wno-multichar
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libdesa68.a
---- a/include/mednafen/drivers/Makefile.am
-+++ b/include/mednafen/drivers/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SDL_CFLAGS@
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @SDL_CFLAGS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmdfnsdl.a
---- a/include/mednafen/drivers_dos/Makefile.am
-+++ b/include/mednafen/drivers_dos/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SDL_CFLAGS@
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @SDL_CFLAGS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmdfndos.a
---- a/include/mednafen/Makefile.am
-+++ b/include/mednafen/Makefile.am
-@@ -1,6 +1,6 @@
- SUBDIRS = trio
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SNDFILE_CFLAGS@
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @SNDFILE_CFLAGS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- bin_PROGRAMS = mednafen
---- a/include/mednafen/ngp/Makefile.am
-+++ b/include/mednafen/ngp/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ -fno-strict-aliasing
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -fno-strict-aliasing
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libngp.a
---- a/include/mednafen/quicklz/Makefile.am
-+++ b/include/mednafen/quicklz/Makefile.am
-@@ -1,6 +1,6 @@
- AM_CFLAGS = @AM_CFLAGS@ -fno-strict-aliasing -Wno-shadow -Wno-unused-but-set-variable
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ -fno-strict-aliasing
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -fno-strict-aliasing
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libmdfnquicklz.a
---- a/include/mednafen/sexyal/Makefile.am
-+++ b/include/mednafen/sexyal/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @SDL_CFLAGS@ @ALSA_CFLAGS@ @JACK_CFLAGS@
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @SDL_CFLAGS@ @ALSA_CFLAGS@ @JACK_CFLAGS@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libsexyal.a
---- a/include/mednafen/snes/Makefile.am
-+++ b/include/mednafen/snes/Makefile.am
-@@ -1,7 +1,7 @@
- AM_CFLAGS = @AM_CFLAGS@ @SNES_EXTRA_FLAGS@
- AM_CXXFLAGS = @AM_CXXFLAGS@ @SNES_EXTRA_FLAGS@ @SNES_EXTRA_CXXFLAGS@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ -DNOMINMAX
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -DNOMINMAX
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl -I$(srcdir)/src/lib
-
- noinst_LIBRARIES = libsnes.a
---- a/include/mednafen/ss/Makefile.am
-+++ b/include/mednafen/ss/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
- AM_CXXFLAGS = @AM_CXXFLAGS@ @SS_EXTRA_FLAGS@ @NO_STACK_PROTECTOR_FLAGS@
- # -Wpedantic
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
---- a/include/mednafen/trio/Makefile.am
-+++ b/include/mednafen/trio/Makefile.am
-@@ -1,5 +1,5 @@
- AUTOMAKE_OPTIONS = subdir-objects
--DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@ @TRIO_CFLAGS@ @CFLAG_VISIBILITY@
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ @TRIO_CFLAGS@ @CFLAG_VISIBILITY@
- DEFAULT_INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/intl
-
- noinst_LIBRARIES = libtrio.a
diff --git a/games-emulation/mednafen/files/mednafen-0.9.39.2-remove-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.39.2-remove-cflags.patch
deleted file mode 100644
index 31c35d7287b4..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.39.2-remove-cflags.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -88,21 +88,6 @@
- AC_CHECK_LIB([z], [zlibVersion],[], AC_MSG_ERROR([*** zlib not found!]))
- AC_SUBST([ZLIB_LIBS], [-lz])
-
--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).
diff --git a/games-emulation/mednafen/files/mednafen-0.9.39.2-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.39.2-zlib.patch
deleted file mode 100644
index 665c4c10ed63..000000000000
--- a/games-emulation/mednafen/files/mednafen-0.9.39.2-zlib.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- 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 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
diff --git a/games-emulation/mednafen/mednafen-0.9.38.7.ebuild b/games-emulation/mednafen/mednafen-0.9.38.7.ebuild
deleted file mode 100644
index bc66552b9289..000000000000
--- a/games-emulation/mednafen/mednafen-0.9.38.7.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils flag-o-matic pax-utils games
-
-DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, NGPC and Lynx emulator"
-HOMEPAGE="http://mednafen.fobby.net/"
-SRC_URI="http://mednafen.fobby.net/releases/files/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="alsa altivec cjk debugger jack nls pax_kernel"
-
-RDEPEND="virtual/opengl
- media-libs/libsndfile
- dev-libs/libcdio
- media-libs/libsdl[sound,joystick,opengl,video]
- media-libs/sdl-net
- sys-libs/zlib[minizip]
- alsa? ( media-libs/alsa-lib )
- jack? ( media-sound/jack-audio-connection-kit )
- nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- nls? ( sys-devel/gettext )"
-
-S=${WORKDIR}/${PN}
-
-pkg_pretend() {
- if has ccache ${FEATURES} ; then
- ewarn
- ewarn "If you experience build failure, try turning off ccache in FEATURES."
- ewarn
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-localedir.patch \
- "${FILESDIR}"/${P}-zlib.patch \
- "${FILESDIR}"/${P}-cflags.patch
- eautoreconf
-}
-
-src_configure() {
- # very sensitive code (bug #539992)
- strip-flags
- append-flags -fomit-frame-pointer -fwrapv
- egamesconf \
- $(use_enable alsa) \
- $(use_enable altivec) \
- $(use_enable cjk cjk-fonts) \
- $(use_enable debugger) \
- $(use_enable jack) \
- $(use_enable nls)
-}
-
-src_install() {
- DOCS="Documentation/cheats.txt ChangeLog TODO" \
- default
- if use pax_kernel; then
- pax-mark m "${D}${GAMES_BINDIR}"/mednafen || die
- fi
- prepgamesdirs
-}
diff --git a/games-emulation/mednafen/mednafen-0.9.39.2.ebuild b/games-emulation/mednafen/mednafen-0.9.39.2.ebuild
deleted file mode 100644
index 5032a26f358a..000000000000
--- a/games-emulation/mednafen/mednafen-0.9.39.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit autotools flag-o-matic pax-utils
-
-DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, NGPC and Lynx emulator"
-HOMEPAGE="http://mednafen.fobby.net/"
-SRC_URI="http://mednafen.fobby.net/releases/files/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="alsa altivec cjk debugger jack nls pax_kernel"
-
-RDEPEND="
- dev-libs/libcdio
- media-libs/libsdl[sound,joystick,opengl,video]
- media-libs/libsndfile
- media-libs/sdl-net
- sys-libs/zlib[minizip]
- virtual/opengl
- alsa? ( media-libs/alsa-lib )
- jack? ( media-sound/jack-audio-connection-kit )
- nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- nls? ( sys-devel/gettext )"
-
-S=${WORKDIR}/${PN}
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.9.39.2-remove-cflags.patch
- "${FILESDIR}"/${PN}-0.9.39.2-localedir.patch
- "${FILESDIR}"/${PN}-0.9.39.2-zlib.patch
-)
-
-pkg_pretend() {
- if has ccache ${FEATURES}; then
- ewarn
- ewarn "If you experience build failure, try turning off ccache in FEATURES."
- ewarn
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- # very sensitive code (bug #539992)
- strip-flags
- append-flags -fomit-frame-pointer -fwrapv
- econf \
- $(use_enable alsa) \
- $(use_enable altivec) \
- $(use_enable cjk cjk-fonts) \
- $(use_enable debugger) \
- $(use_enable jack) \
- $(use_enable nls)
-}
-
-src_install() {
- default
- dodoc Documentation/cheats.txt
-
- if use pax_kernel; then
- pax-mark m "${ED%/}"/bin/mednafen || die
- fi
-}