aboutsummaryrefslogtreecommitdiff
path: root/archivers/py-lzma/files
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/py-lzma/files')
-rw-r--r--archivers/py-lzma/files/patch-7zip-LzmaCompatDecode.h13
-rw-r--r--archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h17
2 files changed, 17 insertions, 13 deletions
diff --git a/archivers/py-lzma/files/patch-7zip-LzmaCompatDecode.h b/archivers/py-lzma/files/patch-7zip-LzmaCompatDecode.h
deleted file mode 100644
index e6b32643a65e..000000000000
--- a/archivers/py-lzma/files/patch-7zip-LzmaCompatDecode.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- 7zip/LzmaCompatDecode.h.orig Thu Dec 28 06:27:50 2006
-+++ 7zip/LzmaCompatDecode.h Thu Dec 28 06:27:56 2006
-@@ -39,10 +39,6 @@
- # define LZMACALL
- #endif
-
--#ifndef malloc
--#include <malloc.h>
--#endif
--
- #ifndef UInt32
- #ifdef _LZMA_UINT32_IS_ULONG
- #define UInt32 unsigned long
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