summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-01-21 19:57:48 +0100
committerDavid Seifert <soap@gentoo.org>2017-01-21 20:04:25 +0100
commit10c2b40e3e4400963b33dffbc429790dc208f483 (patch)
treecc0b58d8b733a70aa3736104e1c79858454ad8d3 /games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch
parentdev-python/natsort: amd64 stable wrt bug #606236 (diff)
downloadgentoo-10c2b40e3e4400963b33dffbc429790dc208f483.tar.gz
gentoo-10c2b40e3e4400963b33dffbc429790dc208f483.tar.bz2
gentoo-10c2b40e3e4400963b33dffbc429790dc208f483.zip
games-emulation/mednafen: Version bump to 0.9.41
Gentoo-bug: 515296 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch')
-rw-r--r--games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch b/games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch
new file mode 100644
index 00000000000..7f78d385d8e
--- /dev/null
+++ b/games-emulation/mednafen/files/mednafen-0.9.41-zlib.patch
@@ -0,0 +1,30 @@
+Use system minizip instead of bundled one
+
+--- a/include/mednafen/compress/Makefile.am.inc
++++ b/include/mednafen/compress/Makefile.am.inc
+@@ -1 +1 @@
+-mednafen_SOURCES += compress/minilzo.c compress/ioapi.c compress/unzip.c compress/GZFileStream.cpp compress/ZLInflateFilter.cpp
++mednafen_SOURCES += compress/minilzo.c compress/ioapi.c compress/GZFileStream.cpp compress/ZLInflateFilter.cpp
+--- a/include/mednafen/file.cpp
++++ b/include/mednafen/file.cpp
+@@ -29,7 +29,7 @@
+ #include <errno.h>
+ #include <trio/trio.h>
+
+-#include "compress/unzip.h"
++#include <minizip/unzip.h>
+
+ #include "file.h"
+ #include "general.h"
+--- a/include/mednafen/Makefile.am
++++ b/include/mednafen/Makefile.am
+@@ -6,7 +6,7 @@
+ bin_PROGRAMS = mednafen
+
+ mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp Time.cpp mednafen.cpp git.cpp file.cpp general.cpp memory.cpp netplay.cpp state.cpp state_rewind.cpp movie.cpp player.cpp PSFLoader.cpp SSFLoader.cpp SNSFLoader.cpp SPCReader.cpp tests.cpp qtrecord.cpp Stream.cpp MemoryStream.cpp FileStream.cpp IPSPatcher.cpp
+-mednafen_LDADD = trio/libtrio.a
++mednafen_LDADD = trio/libtrio.a -lminizip
+ mednafen_DEPENDENCIES = trio/libtrio.a
+
+ if HAVE_SDL
+