summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-06-23 06:06:05 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2015-06-23 06:06:05 (GMT)
commit63692baca1210dad2d25abcc0b257c99096cc016 (patch)
tree70b01bb24c48e1a91863c729433288e3ea2c66c6
parent9816446b2eee843f0a919ab9531d0381913ed8da (diff)
downloadmxe-63692baca1210dad2d25abcc0b257c99096cc016.zip
mxe-63692baca1210dad2d25abcc0b257c99096cc016.tar.gz
mxe-63692baca1210dad2d25abcc0b257c99096cc016.tar.bz2
minizip: Try to fix building
Might fix #730.
-rw-r--r--src/minizip-1-unzOpenBuffer.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/minizip-1-unzOpenBuffer.patch b/src/minizip-1-unzOpenBuffer.patch
index 45d38ec..ae26bea 100644
--- a/src/minizip-1-unzOpenBuffer.patch
+++ b/src/minizip-1-unzOpenBuffer.patch
@@ -4,6 +4,9 @@ See index.html for further information.
This patch has been taken from:
https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-zlib
+Modifications have been made to accomodate for commit.
+nmoinvaz/minizip@9bccc22efb2d.
+
From c162a3620a3d0d317f59af8ddc2d1605bf5ee4b3 Mon Sep 17 00:00:00 2001
From: martell <martellmalone@gmail.com>
Date: Sat, 11 Oct 2014 03:32:38 +0100
@@ -50,7 +53,7 @@ index ce02265..bb72a66 100644
+ zlib_filefunc64_32_def memory_file;
+ sprintf(path, "%llx %lx", (unsigned long long)buffer, (unsigned long)size);
+ fill_memory_filefunc(&memory_file, &FileMemory);
-+ return unzOpenInternal(path, &memory_file, 0);
++ return unzOpenInternal(path, &memory_file);
+}
+
extern int ZEXPORT unzClose(unzFile file)