summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2011-09-21 21:49:03 (GMT)
committerMark Brand <mabrand@mabrand.nl>2011-09-21 21:49:03 (GMT)
commit7b11772bd547e1e6d7a630fe4060d043cddd2bb2 (patch)
tree8cf24b7aec863ac08a6e5c0775809650bbe296f6 /src
parent46c0d4431d41021355b7ad1b59013eba062b2fd4 (diff)
downloadmxe-7b11772bd547e1e6d7a630fe4060d043cddd2bb2.zip
mxe-7b11772bd547e1e6d7a630fe4060d043cddd2bb2.tar.gz
mxe-7b11772bd547e1e6d7a630fe4060d043cddd2bb2.tar.bz2
package openexr: fix calling convention for zlib
Diffstat (limited to 'src')
-rw-r--r--src/openexr-2-disable-zlib_winapi.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/openexr-2-disable-zlib_winapi.patch b/src/openexr-2-disable-zlib_winapi.patch
new file mode 100644
index 0000000..2eb6049
--- /dev/null
+++ b/src/openexr-2-disable-zlib_winapi.patch
@@ -0,0 +1,25 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+diff -urN a/IlmImf/ImfPxr24Compressor.cpp b/IlmImf/ImfPxr24Compressor.cpp
+--- a/IlmImf/ImfPxr24Compressor.cpp 2010-07-17 01:11:52.000000000 +0200
++++ b/IlmImf/ImfPxr24Compressor.cpp 2011-09-21 23:41:28.130452657 +0200
+@@ -62,7 +62,6 @@
+ // string of bytes is compressed with zlib.
+ //
+ //-----------------------------------------------------------------------------
+-#define ZLIB_WINAPI
+
+ #include <ImfPxr24Compressor.h>
+ #include <ImfHeader.h>
+diff -urN a/IlmImf/ImfZipCompressor.cpp b/IlmImf/ImfZipCompressor.cpp
+--- a/IlmImf/ImfZipCompressor.cpp 2010-07-17 01:11:52.000000000 +0200
++++ b/IlmImf/ImfZipCompressor.cpp 2011-09-21 23:42:01.154288691 +0200
+@@ -39,7 +39,6 @@
+ // class ZipCompressor
+ //
+ //-----------------------------------------------------------------------------
+-#define ZLIB_WINAPI
+
+ #include <ImfZipCompressor.h>
+ #include <ImfCheckedArithmetic.h>