summaryrefslogtreecommitdiff
path: root/games-emulation/mednafen/files/mednafen-0.9.28-zlib.patch
blob: 8ada20096ecb79eac1f8d394c229c533dfad95ca (plain)
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
28
29
30
diff -ru mednafen.orig/src/Makefile.am mednafen/src/Makefile.am
--- mednafen.orig/src/Makefile.am	2013-01-12 08:41:03.000000000 -0500
+++ mednafen/src/Makefile.am	2013-01-25 13:17:44.351619447 -0500
@@ -5,7 +5,7 @@
 
 bin_PROGRAMS	=	mednafen
 mednafen_SOURCES 	= 	debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp mednafen.cpp file.cpp general.cpp md5.cpp memory.cpp netplay.cpp state.cpp movie.cpp player.cpp PSFLoader.cpp tests.cpp qtrecord.cpp cdplay.cpp okiadpcm.cpp FileWrapper.cpp Stream.cpp MemoryStream.cpp FileStream.cpp
-mednafen_LDADD 		= 	trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@
+mednafen_LDADD 		= 	trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@ -lminizip
 mednafen_DEPENDENCIES	=	trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a
 
 SUBDIRS			+=	sexyal drivers
diff -ru mednafen.orig/src/compress/Makefile.am.inc mednafen/src/compress/Makefile.am.inc
--- mednafen.orig/src/compress/Makefile.am.inc	2010-12-18 04:03:19.000000000 -0500
+++ mednafen/src/compress/Makefile.am.inc	2013-01-25 13:17:19.289508092 -0500
@@ -1 +1 @@
-mednafen_SOURCES	+=	compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c compress/unzip.c
+mednafen_SOURCES	+=	compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c
diff -ru mednafen.orig/src/file.cpp mednafen/src/file.cpp
--- mednafen.orig/src/file.cpp	2012-02-03 17:04:45.000000000 -0500
+++ mednafen/src/file.cpp	2013-01-25 13:17:09.527854217 -0500
@@ -33,7 +33,7 @@
 
 
 #include <zlib.h>
-#include "compress/unzip.h"
+#include <minizip/unzip.h>
 
 #include "file.h"
 #include "general.h"