[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: e42aa314ff8688a19d93dc86a1ebaf4cf389a08a Author: Michael Sterrett gentoo org> AuthorDate: Tue Feb 16 00:49:06 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Feb 16 01:37:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42aa314 games-emulation/mednafen: clean old Package-Manager: portage-2.2.26 games-emulation/mednafen/Manifest | 1 - .../files/mednafen-0.9.38.4-automake-1.13.patch| 11 .../mednafen/files/mednafen-0.9.38.4-cflags.patch | 28 - .../mednafen/files/mednafen-0.9.38.4-zlib.patch| 27 games-emulation/mednafen/mednafen-0.9.38.4.ebuild | 72 -- 5 files changed, 139 deletions(-) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index dd9924b..c90f08f 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1 @@ -DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 deleted file mode 100644 index 14c69d9..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch +++ /dev/null @@ -1,11 +0,0 @@ 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 deleted file mode 100644 index c43af81..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-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.4-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch deleted file mode 100644 index 5d930da..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch +++ /dev/null @@ -1,27 +0,0 @@ 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 - #include - --#include "compress/unzip.h" -+#include - - #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 me
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 0ddb9fcbec1c779051df973a3d4a08821fb42b83 Author: Michael Sterrett gentoo org> AuthorDate: Tue Dec 29 15:47:53 2015 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Dec 29 15:53:44 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ddb9fcb games-emulation/mednafen: version bump Package-Manager: portage-2.2.24 games-emulation/mednafen/Manifest | 1 + .../mednafen/files/mednafen-0.9.38.7-cflags.patch | 28 +++ .../files/mednafen-0.9.38.7-localedir.patch| 278 + .../mednafen/files/mednafen-0.9.38.7-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.38.7.ebuild | 68 + 5 files changed, 402 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index 95cfdb7..dd9924b 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 +DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 new file mode 100644 index 000..c43af81 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-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.7-localedir.patch b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch new file mode 100644 index 000..5f2b3c6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch @@ -0,0 +1,278 @@ +--- 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 =
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 10c2b40e3e4400963b33dffbc429790dc208f483 Author: David Seifert gentoo org> AuthorDate: Sat Jan 21 18:57:48 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 21 19:04:25 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2b40e games-emulation/mednafen: Version bump to 0.9.41 Gentoo-bug: 515296 Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.41-remove-cflags.patch | 57 + .../mednafen/files/mednafen-0.9.41-zlib.patch | 30 + games-emulation/mednafen/mednafen-0.9.41.ebuild| 71 ++ 4 files changed, 159 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index f5e17d7..a8d7bac 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1,3 @@ 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.41-remove-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch new file mode 100644 index ..a0a5299 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch @@ -0,0 +1,57 @@ +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.p
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: f4a482914b76f5dc2d200fe502a55582673fe071 Author: David Seifert gentoo org> AuthorDate: Sun Dec 18 23:46:53 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Dec 18 23:51:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a48291 games-emulation/mednafen: Version bump to 0.9.39.2 Gentoo-bug: 602268 * EAPI=6 * Remove games.eclass * Update patches Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.39.2-localedir.patch| 96 ++ .../files/mednafen-0.9.39.2-remove-cflags.patch| 24 ++ .../mednafen/files/mednafen-0.9.39.2-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.39.2.ebuild | 73 5 files changed, 221 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index c90f08f..f5e17d7 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ 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 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 new file mode 100644 index ..82ab5a6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch @@ -0,0 +1,96 @@ +--- 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_C
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: e42aa314ff8688a19d93dc86a1ebaf4cf389a08a Author: Michael Sterrett gentoo org> AuthorDate: Tue Feb 16 00:49:06 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Feb 16 01:37:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42aa314 games-emulation/mednafen: clean old Package-Manager: portage-2.2.26 games-emulation/mednafen/Manifest | 1 - .../files/mednafen-0.9.38.4-automake-1.13.patch| 11 .../mednafen/files/mednafen-0.9.38.4-cflags.patch | 28 - .../mednafen/files/mednafen-0.9.38.4-zlib.patch| 27 games-emulation/mednafen/mednafen-0.9.38.4.ebuild | 72 -- 5 files changed, 139 deletions(-) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index dd9924b..c90f08f 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1 @@ -DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 deleted file mode 100644 index 14c69d9..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch +++ /dev/null @@ -1,11 +0,0 @@ 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 deleted file mode 100644 index c43af81..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-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.4-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch deleted file mode 100644 index 5d930da..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch +++ /dev/null @@ -1,27 +0,0 @@ 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 - #include - --#include "compress/unzip.h" -+#include - - #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 me
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 0ddb9fcbec1c779051df973a3d4a08821fb42b83 Author: Michael Sterrett gentoo org> AuthorDate: Tue Dec 29 15:47:53 2015 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Dec 29 15:53:44 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ddb9fcb games-emulation/mednafen: version bump Package-Manager: portage-2.2.24 games-emulation/mednafen/Manifest | 1 + .../mednafen/files/mednafen-0.9.38.7-cflags.patch | 28 +++ .../files/mednafen-0.9.38.7-localedir.patch| 278 + .../mednafen/files/mednafen-0.9.38.7-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.38.7.ebuild | 68 + 5 files changed, 402 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index 95cfdb7..dd9924b 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 +DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 new file mode 100644 index 000..c43af81 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-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.7-localedir.patch b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch new file mode 100644 index 000..5f2b3c6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch @@ -0,0 +1,278 @@ +--- 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 =
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: f4a482914b76f5dc2d200fe502a55582673fe071 Author: David Seifert gentoo org> AuthorDate: Sun Dec 18 23:46:53 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Dec 18 23:51:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a48291 games-emulation/mednafen: Version bump to 0.9.39.2 Gentoo-bug: 602268 * EAPI=6 * Remove games.eclass * Update patches Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.39.2-localedir.patch| 96 ++ .../files/mednafen-0.9.39.2-remove-cflags.patch| 24 ++ .../mednafen/files/mednafen-0.9.39.2-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.39.2.ebuild | 73 5 files changed, 221 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index c90f08f..f5e17d7 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ 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 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 new file mode 100644 index ..82ab5a6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch @@ -0,0 +1,96 @@ +--- 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_C
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 10c2b40e3e4400963b33dffbc429790dc208f483 Author: David Seifert gentoo org> AuthorDate: Sat Jan 21 18:57:48 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 21 19:04:25 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2b40e games-emulation/mednafen: Version bump to 0.9.41 Gentoo-bug: 515296 Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.41-remove-cflags.patch | 57 + .../mednafen/files/mednafen-0.9.41-zlib.patch | 30 + games-emulation/mednafen/mednafen-0.9.41.ebuild| 71 ++ 4 files changed, 159 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index f5e17d7..a8d7bac 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1,3 @@ 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.41-remove-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch new file mode 100644 index ..a0a5299 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch @@ -0,0 +1,57 @@ +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.p
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: e42aa314ff8688a19d93dc86a1ebaf4cf389a08a Author: Michael Sterrett gentoo org> AuthorDate: Tue Feb 16 00:49:06 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Feb 16 01:37:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42aa314 games-emulation/mednafen: clean old Package-Manager: portage-2.2.26 games-emulation/mednafen/Manifest | 1 - .../files/mednafen-0.9.38.4-automake-1.13.patch| 11 .../mednafen/files/mednafen-0.9.38.4-cflags.patch | 28 - .../mednafen/files/mednafen-0.9.38.4-zlib.patch| 27 games-emulation/mednafen/mednafen-0.9.38.4.ebuild | 72 -- 5 files changed, 139 deletions(-) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index dd9924b..c90f08f 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1 @@ -DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 deleted file mode 100644 index 14c69d9..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch +++ /dev/null @@ -1,11 +0,0 @@ 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 deleted file mode 100644 index c43af81..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-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.4-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch deleted file mode 100644 index 5d930da..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch +++ /dev/null @@ -1,27 +0,0 @@ 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 - #include - --#include "compress/unzip.h" -+#include - - #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 me
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 0ddb9fcbec1c779051df973a3d4a08821fb42b83 Author: Michael Sterrett gentoo org> AuthorDate: Tue Dec 29 15:47:53 2015 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Dec 29 15:53:44 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ddb9fcb games-emulation/mednafen: version bump Package-Manager: portage-2.2.24 games-emulation/mednafen/Manifest | 1 + .../mednafen/files/mednafen-0.9.38.7-cflags.patch | 28 +++ .../files/mednafen-0.9.38.7-localedir.patch| 278 + .../mednafen/files/mednafen-0.9.38.7-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.38.7.ebuild | 68 + 5 files changed, 402 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index 95cfdb7..dd9924b 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 +DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 new file mode 100644 index 000..c43af81 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-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.7-localedir.patch b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch new file mode 100644 index 000..5f2b3c6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch @@ -0,0 +1,278 @@ +--- 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 =
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 10c2b40e3e4400963b33dffbc429790dc208f483 Author: David Seifert gentoo org> AuthorDate: Sat Jan 21 18:57:48 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 21 19:04:25 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2b40e games-emulation/mednafen: Version bump to 0.9.41 Gentoo-bug: 515296 Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.41-remove-cflags.patch | 57 + .../mednafen/files/mednafen-0.9.41-zlib.patch | 30 + games-emulation/mednafen/mednafen-0.9.41.ebuild| 71 ++ 4 files changed, 159 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index f5e17d7..a8d7bac 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1,3 @@ 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.41-remove-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch new file mode 100644 index ..a0a5299 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch @@ -0,0 +1,57 @@ +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.p
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: f4a482914b76f5dc2d200fe502a55582673fe071 Author: David Seifert gentoo org> AuthorDate: Sun Dec 18 23:46:53 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Dec 18 23:51:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a48291 games-emulation/mednafen: Version bump to 0.9.39.2 Gentoo-bug: 602268 * EAPI=6 * Remove games.eclass * Update patches Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.39.2-localedir.patch| 96 ++ .../files/mednafen-0.9.39.2-remove-cflags.patch| 24 ++ .../mednafen/files/mednafen-0.9.39.2-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.39.2.ebuild | 73 5 files changed, 221 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index c90f08f..f5e17d7 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ 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 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 new file mode 100644 index ..82ab5a6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch @@ -0,0 +1,96 @@ +--- 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_C
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 0ddb9fcbec1c779051df973a3d4a08821fb42b83 Author: Michael Sterrett gentoo org> AuthorDate: Tue Dec 29 15:47:53 2015 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Dec 29 15:53:44 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ddb9fcb games-emulation/mednafen: version bump Package-Manager: portage-2.2.24 games-emulation/mednafen/Manifest | 1 + .../mednafen/files/mednafen-0.9.38.7-cflags.patch | 28 +++ .../files/mednafen-0.9.38.7-localedir.patch| 278 + .../mednafen/files/mednafen-0.9.38.7-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.38.7.ebuild | 68 + 5 files changed, 402 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index 95cfdb7..dd9924b 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 +DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 new file mode 100644 index 000..c43af81 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-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.7-localedir.patch b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch new file mode 100644 index 000..5f2b3c6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch @@ -0,0 +1,278 @@ +--- 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 =
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: e42aa314ff8688a19d93dc86a1ebaf4cf389a08a Author: Michael Sterrett gentoo org> AuthorDate: Tue Feb 16 00:49:06 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Feb 16 01:37:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42aa314 games-emulation/mednafen: clean old Package-Manager: portage-2.2.26 games-emulation/mednafen/Manifest | 1 - .../files/mednafen-0.9.38.4-automake-1.13.patch| 11 .../mednafen/files/mednafen-0.9.38.4-cflags.patch | 28 - .../mednafen/files/mednafen-0.9.38.4-zlib.patch| 27 games-emulation/mednafen/mednafen-0.9.38.4.ebuild | 72 -- 5 files changed, 139 deletions(-) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index dd9924b..c90f08f 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1 @@ -DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 deleted file mode 100644 index 14c69d9..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch +++ /dev/null @@ -1,11 +0,0 @@ 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 deleted file mode 100644 index c43af81..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-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.4-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch deleted file mode 100644 index 5d930da..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch +++ /dev/null @@ -1,27 +0,0 @@ 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 - #include - --#include "compress/unzip.h" -+#include - - #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 me
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 10c2b40e3e4400963b33dffbc429790dc208f483 Author: David Seifert gentoo org> AuthorDate: Sat Jan 21 18:57:48 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 21 19:04:25 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2b40e games-emulation/mednafen: Version bump to 0.9.41 Gentoo-bug: 515296 Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.41-remove-cflags.patch | 57 + .../mednafen/files/mednafen-0.9.41-zlib.patch | 30 + games-emulation/mednafen/mednafen-0.9.41.ebuild| 71 ++ 4 files changed, 159 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index f5e17d7..a8d7bac 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1,3 @@ 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.41-remove-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch new file mode 100644 index ..a0a5299 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch @@ -0,0 +1,57 @@ +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.p
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: f4a482914b76f5dc2d200fe502a55582673fe071 Author: David Seifert gentoo org> AuthorDate: Sun Dec 18 23:46:53 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Dec 18 23:51:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a48291 games-emulation/mednafen: Version bump to 0.9.39.2 Gentoo-bug: 602268 * EAPI=6 * Remove games.eclass * Update patches Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.39.2-localedir.patch| 96 ++ .../files/mednafen-0.9.39.2-remove-cflags.patch| 24 ++ .../mednafen/files/mednafen-0.9.39.2-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.39.2.ebuild | 73 5 files changed, 221 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index c90f08f..f5e17d7 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ 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 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 new file mode 100644 index ..82ab5a6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch @@ -0,0 +1,96 @@ +--- 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_C
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: e42aa314ff8688a19d93dc86a1ebaf4cf389a08a Author: Michael Sterrett gentoo org> AuthorDate: Tue Feb 16 00:49:06 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Feb 16 01:37:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42aa314 games-emulation/mednafen: clean old Package-Manager: portage-2.2.26 games-emulation/mednafen/Manifest | 1 - .../files/mednafen-0.9.38.4-automake-1.13.patch| 11 .../mednafen/files/mednafen-0.9.38.4-cflags.patch | 28 - .../mednafen/files/mednafen-0.9.38.4-zlib.patch| 27 games-emulation/mednafen/mednafen-0.9.38.4.ebuild | 72 -- 5 files changed, 139 deletions(-) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index dd9924b..c90f08f 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1 @@ -DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 deleted file mode 100644 index 14c69d9..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch +++ /dev/null @@ -1,11 +0,0 @@ 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 deleted file mode 100644 index c43af81..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-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.4-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch deleted file mode 100644 index 5d930da..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch +++ /dev/null @@ -1,27 +0,0 @@ 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 - #include - --#include "compress/unzip.h" -+#include - - #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 me
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 0ddb9fcbec1c779051df973a3d4a08821fb42b83 Author: Michael Sterrett gentoo org> AuthorDate: Tue Dec 29 15:47:53 2015 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Dec 29 15:53:44 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ddb9fcb games-emulation/mednafen: version bump Package-Manager: portage-2.2.24 games-emulation/mednafen/Manifest | 1 + .../mednafen/files/mednafen-0.9.38.7-cflags.patch | 28 +++ .../files/mednafen-0.9.38.7-localedir.patch| 278 + .../mednafen/files/mednafen-0.9.38.7-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.38.7.ebuild | 68 + 5 files changed, 402 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index 95cfdb7..dd9924b 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 +DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 new file mode 100644 index 000..c43af81 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-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.7-localedir.patch b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch new file mode 100644 index 000..5f2b3c6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch @@ -0,0 +1,278 @@ +--- 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 =
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 10c2b40e3e4400963b33dffbc429790dc208f483 Author: David Seifert gentoo org> AuthorDate: Sat Jan 21 18:57:48 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 21 19:04:25 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2b40e games-emulation/mednafen: Version bump to 0.9.41 Gentoo-bug: 515296 Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.41-remove-cflags.patch | 57 + .../mednafen/files/mednafen-0.9.41-zlib.patch | 30 + games-emulation/mednafen/mednafen-0.9.41.ebuild| 71 ++ 4 files changed, 159 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index f5e17d7..a8d7bac 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1,3 @@ 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.41-remove-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch new file mode 100644 index ..a0a5299 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch @@ -0,0 +1,57 @@ +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.p
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: f4a482914b76f5dc2d200fe502a55582673fe071 Author: David Seifert gentoo org> AuthorDate: Sun Dec 18 23:46:53 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Dec 18 23:51:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a48291 games-emulation/mednafen: Version bump to 0.9.39.2 Gentoo-bug: 602268 * EAPI=6 * Remove games.eclass * Update patches Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.39.2-localedir.patch| 96 ++ .../files/mednafen-0.9.39.2-remove-cflags.patch| 24 ++ .../mednafen/files/mednafen-0.9.39.2-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.39.2.ebuild | 73 5 files changed, 221 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index c90f08f..f5e17d7 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ 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 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 new file mode 100644 index ..82ab5a6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch @@ -0,0 +1,96 @@ +--- 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_C
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 0ddb9fcbec1c779051df973a3d4a08821fb42b83 Author: Michael Sterrett gentoo org> AuthorDate: Tue Dec 29 15:47:53 2015 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Dec 29 15:53:44 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ddb9fcb games-emulation/mednafen: version bump Package-Manager: portage-2.2.24 games-emulation/mednafen/Manifest | 1 + .../mednafen/files/mednafen-0.9.38.7-cflags.patch | 28 +++ .../files/mednafen-0.9.38.7-localedir.patch| 278 + .../mednafen/files/mednafen-0.9.38.7-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.38.7.ebuild | 68 + 5 files changed, 402 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index 95cfdb7..dd9924b 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 +DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 new file mode 100644 index 000..c43af81 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-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.7-localedir.patch b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch new file mode 100644 index 000..5f2b3c6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.38.7-localedir.patch @@ -0,0 +1,278 @@ +--- 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 =
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: e42aa314ff8688a19d93dc86a1ebaf4cf389a08a Author: Michael Sterrett gentoo org> AuthorDate: Tue Feb 16 00:49:06 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Feb 16 01:37:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42aa314 games-emulation/mednafen: clean old Package-Manager: portage-2.2.26 games-emulation/mednafen/Manifest | 1 - .../files/mednafen-0.9.38.4-automake-1.13.patch| 11 .../mednafen/files/mednafen-0.9.38.4-cflags.patch | 28 - .../mednafen/files/mednafen-0.9.38.4-zlib.patch| 27 games-emulation/mednafen/mednafen-0.9.38.4.ebuild | 72 -- 5 files changed, 139 deletions(-) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index dd9924b..c90f08f 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1 @@ -DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 deleted file mode 100644 index 14c69d9..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch +++ /dev/null @@ -1,11 +0,0 @@ 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 deleted file mode 100644 index c43af81..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-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.4-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch deleted file mode 100644 index 5d930da..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch +++ /dev/null @@ -1,27 +0,0 @@ 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 - #include - --#include "compress/unzip.h" -+#include - - #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 me
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 10c2b40e3e4400963b33dffbc429790dc208f483 Author: David Seifert gentoo org> AuthorDate: Sat Jan 21 18:57:48 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 21 19:04:25 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2b40e games-emulation/mednafen: Version bump to 0.9.41 Gentoo-bug: 515296 Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.41-remove-cflags.patch | 57 + .../mednafen/files/mednafen-0.9.41-zlib.patch | 30 + games-emulation/mednafen/mednafen-0.9.41.ebuild| 71 ++ 4 files changed, 159 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index f5e17d7..a8d7bac 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1,3 @@ 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.41-remove-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch new file mode 100644 index ..a0a5299 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch @@ -0,0 +1,57 @@ +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.p
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: f4a482914b76f5dc2d200fe502a55582673fe071 Author: David Seifert gentoo org> AuthorDate: Sun Dec 18 23:46:53 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Dec 18 23:51:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a48291 games-emulation/mednafen: Version bump to 0.9.39.2 Gentoo-bug: 602268 * EAPI=6 * Remove games.eclass * Update patches Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.39.2-localedir.patch| 96 ++ .../files/mednafen-0.9.39.2-remove-cflags.patch| 24 ++ .../mednafen/files/mednafen-0.9.39.2-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.39.2.ebuild | 73 5 files changed, 221 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index c90f08f..f5e17d7 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ 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 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 new file mode 100644 index ..82ab5a6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch @@ -0,0 +1,96 @@ +--- 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_C
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: e42aa314ff8688a19d93dc86a1ebaf4cf389a08a Author: Michael Sterrett gentoo org> AuthorDate: Tue Feb 16 00:49:06 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Feb 16 01:37:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42aa314 games-emulation/mednafen: clean old Package-Manager: portage-2.2.26 games-emulation/mednafen/Manifest | 1 - .../files/mednafen-0.9.38.4-automake-1.13.patch| 11 .../mednafen/files/mednafen-0.9.38.4-cflags.patch | 28 - .../mednafen/files/mednafen-0.9.38.4-zlib.patch| 27 games-emulation/mednafen/mednafen-0.9.38.4.ebuild | 72 -- 5 files changed, 139 deletions(-) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index dd9924b..c90f08f 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1 @@ -DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 deleted file mode 100644 index 14c69d9..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch +++ /dev/null @@ -1,11 +0,0 @@ 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 deleted file mode 100644 index c43af81..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-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.4-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch deleted file mode 100644 index 5d930da..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch +++ /dev/null @@ -1,27 +0,0 @@ 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 - #include - --#include "compress/unzip.h" -+#include - - #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 me
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: f4a482914b76f5dc2d200fe502a55582673fe071 Author: David Seifert gentoo org> AuthorDate: Sun Dec 18 23:46:53 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Dec 18 23:51:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a48291 games-emulation/mednafen: Version bump to 0.9.39.2 Gentoo-bug: 602268 * EAPI=6 * Remove games.eclass * Update patches Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.39.2-localedir.patch| 96 ++ .../files/mednafen-0.9.39.2-remove-cflags.patch| 24 ++ .../mednafen/files/mednafen-0.9.39.2-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.39.2.ebuild | 73 5 files changed, 221 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index c90f08f..f5e17d7 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ 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 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 new file mode 100644 index ..82ab5a6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch @@ -0,0 +1,96 @@ +--- 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_C
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 10c2b40e3e4400963b33dffbc429790dc208f483 Author: David Seifert gentoo org> AuthorDate: Sat Jan 21 18:57:48 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 21 19:04:25 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2b40e games-emulation/mednafen: Version bump to 0.9.41 Gentoo-bug: 515296 Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.41-remove-cflags.patch | 57 + .../mednafen/files/mednafen-0.9.41-zlib.patch | 30 + games-emulation/mednafen/mednafen-0.9.41.ebuild| 71 ++ 4 files changed, 159 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index f5e17d7..a8d7bac 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1,3 @@ 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.41-remove-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch new file mode 100644 index ..a0a5299 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch @@ -0,0 +1,57 @@ +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.p
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: f4a482914b76f5dc2d200fe502a55582673fe071 Author: David Seifert gentoo org> AuthorDate: Sun Dec 18 23:46:53 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Dec 18 23:51:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a48291 games-emulation/mednafen: Version bump to 0.9.39.2 Gentoo-bug: 602268 * EAPI=6 * Remove games.eclass * Update patches Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.39.2-localedir.patch| 96 ++ .../files/mednafen-0.9.39.2-remove-cflags.patch| 24 ++ .../mednafen/files/mednafen-0.9.39.2-zlib.patch| 27 ++ games-emulation/mednafen/mednafen-0.9.39.2.ebuild | 73 5 files changed, 221 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index c90f08f..f5e17d7 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ 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 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 new file mode 100644 index ..82ab5a6 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.39.2-localedir.patch @@ -0,0 +1,96 @@ +--- 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_C
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: e42aa314ff8688a19d93dc86a1ebaf4cf389a08a Author: Michael Sterrett gentoo org> AuthorDate: Tue Feb 16 00:49:06 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Tue Feb 16 01:37:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42aa314 games-emulation/mednafen: clean old Package-Manager: portage-2.2.26 games-emulation/mednafen/Manifest | 1 - .../files/mednafen-0.9.38.4-automake-1.13.patch| 11 .../mednafen/files/mednafen-0.9.38.4-cflags.patch | 28 - .../mednafen/files/mednafen-0.9.38.4-zlib.patch| 27 games-emulation/mednafen/mednafen-0.9.38.4.ebuild | 72 -- 5 files changed, 139 deletions(-) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index dd9924b..c90f08f 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1 @@ -DIST mednafen-0.9.38.4.tar.bz2 3820560 SHA256 3298e2d5c03efbe638c2a98bf74435e306768461c65d2bb9b9a95e99dc463105 SHA512 3eb19a10e97cd285387fcf86eae09f550d248ab9c070750b1c0af0f334cce47ea375227df72cf7cdbc2193b311bab5e09108388a15634f694ef398b1a77ac3df WHIRLPOOL 17ae061668052fa33ce08b56d1aac75935bb91d02961d3dad042c07537ef15aa4374730652508941408764e7deb7cfe0969f80f32e6d642d20a32ac053bba491 DIST mednafen-0.9.38.7.tar.bz2 3882418 SHA256 1bb3beef883a325c35d1a1ce14959c307a4c321f2ea29d4ddb216c6dd03aded8 SHA512 759c83928ef7a9e856dc7f546542ab1e7cbe944d0184a7693ce3b1466220233eb40c2b215100920920754eb5a93587bd8e2d8150e00ec9c93da1d518107e0d76 WHIRLPOOL 0cb94abdaa697558f3575c8e4d6e0a816888ace2b860797a8a947ddca3ae66e517dd044f9ce266e7a19ac6e16a56f91bc93db2bbc7a9817e5afcc75a93cb2f42 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 deleted file mode 100644 index 14c69d9..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-automake-1.13.patch +++ /dev/null @@ -1,11 +0,0 @@ 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 deleted file mode 100644 index c43af81..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-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.4-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch deleted file mode 100644 index 5d930da..000 --- a/games-emulation/mednafen/files/mednafen-0.9.38.4-zlib.patch +++ /dev/null @@ -1,27 +0,0 @@ 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 - #include - --#include "compress/unzip.h" -+#include - - #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 me
[gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/, games-emulation/mednafen/files/
commit: 10c2b40e3e4400963b33dffbc429790dc208f483 Author: David Seifert gentoo org> AuthorDate: Sat Jan 21 18:57:48 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 21 19:04:25 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2b40e games-emulation/mednafen: Version bump to 0.9.41 Gentoo-bug: 515296 Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/mednafen/Manifest | 1 + .../files/mednafen-0.9.41-remove-cflags.patch | 57 + .../mednafen/files/mednafen-0.9.41-zlib.patch | 30 + games-emulation/mednafen/mednafen-0.9.41.ebuild| 71 ++ 4 files changed, 159 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index f5e17d7..a8d7bac 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1,2 +1,3 @@ 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.41-remove-cflags.patch b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch new file mode 100644 index ..a0a5299 --- /dev/null +++ b/games-emulation/mednafen/files/mednafen-0.9.41-remove-cflags.patch @@ -0,0 +1,57 @@ +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.p