summaryrefslogtreecommitdiff
path: root/archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2010-11-11 15:36:14 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2010-11-11 15:36:14 +0000
commit2effdbdab0c4f54adcd297607d0ef77d34bbcfaa (patch)
treec0dc2b18a7c198d7a312b3836c5f15842d68e681 /archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h
parentUpdate to 2.6.10. (diff)
- Update to 0.4.2
- Submitter is now maintainer PR: ports/152122 Submitted by: Sofian Brabez <sbrabez AT gmail.com>
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