aboutsummaryrefslogtreecommitdiff
path: root/archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h')
-rw-r--r--archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h b/archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h
new file mode 100644
index 000000000000..fed44d4faf82
--- /dev/null
+++ b/archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h
@@ -0,0 +1,17 @@
+--- ./src/compat/LzmaCompatDecode.h.orig 2010-04-24 00:26:40.000000000 +0200
++++ ./src/compat/LzmaCompatDecode.h 2010-11-11 00:20:51.000000000 +0100
+@@ -39,14 +39,6 @@
+ # define LZMACALL
+ #endif
+
+-#ifndef malloc
+-# ifdef __APPLE__
+-#include <malloc/malloc.h>
+-# else
+-#include <malloc.h>
+-# endif
+-#endif
+-
+ #ifndef UInt32
+ #ifdef _LZMA_UINT32_IS_ULONG
+ #define UInt32 unsigned long