forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mednafen-0.9.38.7-zlib.patch
27 lines (23 loc) · 1.17 KB
/
mednafen-0.9.38.7-zlib.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- mednafen.orig/include/mednafen/compress/Makefile.am.inc
+++ mednafen/include/mednafen/compress/Makefile.am.inc
@@ -1 +1 @@
-mednafen_SOURCES += compress/minilzo.c compress/ioapi.c compress/unzip.c compress/GZFileStream.cpp compress/ZLInflateFilter.cpp
+mednafen_SOURCES += compress/minilzo.c compress/ioapi.c compress/GZFileStream.cpp compress/ZLInflateFilter.cpp
--- mednafen.orig/include/mednafen/file.cpp
+++ mednafen/include/mednafen/file.cpp
@@ -29,7 +29,7 @@
#include <errno.h>
#include <trio/trio.h>
-#include "compress/unzip.h"
+#include <minizip/unzip.h>
#include "file.h"
#include "general.h"
--- mednafen.orig/include/mednafen/Makefile.am
+++ mednafen/include/mednafen/Makefile.am
@@ -6,7 +6,7 @@
bin_PROGRAMS = mednafen
mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp mednafen.cpp git.cpp file.cpp general.cpp memory.cpp netplay.cpp state.cpp state_rewind.cpp movie.cpp player.cpp PSFLoader.cpp SNSFLoader.cpp SPCReader.cpp tests.cpp qtrecord.cpp Stream.cpp MemoryStream.cpp FileStream.cpp IPSPatcher.cpp
-mednafen_LDADD = trio/libtrio.a
+mednafen_LDADD = trio/libtrio.a -lminizip
mednafen_DEPENDENCIES = trio/libtrio.a
if HAVE_SDL