summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-07 19:20:27 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-07 19:20:27 +0000
commit7ff98aeae2fbd0ab955d18d2b18c8b99b0d9f19b (patch)
tree6d92cd9bc63afb73ce1c81b85d813fa1f5341e94 /app-arch/lha/files
parentStable on ppc64; bug #148500 (diff)
downloadgentoo-2-7ff98aeae2fbd0ab955d18d2b18c8b99b0d9f19b.tar.gz
gentoo-2-7ff98aeae2fbd0ab955d18d2b18c8b99b0d9f19b.tar.bz2
gentoo-2-7ff98aeae2fbd0ab955d18d2b18c8b99b0d9f19b.zip
malloc.h should not be included, stdlib.h instead should.
(Portage version: 2.1.2_pre2-r5)
Diffstat (limited to 'app-arch/lha/files')
-rw-r--r--app-arch/lha/files/lha-114i-malloc.patch6
1 files changed, 2 insertions, 4 deletions
diff --git a/app-arch/lha/files/lha-114i-malloc.patch b/app-arch/lha/files/lha-114i-malloc.patch
index 8c9d968a9d58..2a2a0daf045c 100644
--- a/app-arch/lha/files/lha-114i-malloc.patch
+++ b/app-arch/lha/files/lha-114i-malloc.patch
@@ -1,12 +1,10 @@
--- lha-114i/src/lha.h
+++ lha-114i/src/lha.h
-@@ -16,6 +16,9 @@
+@@ -16,6 +16,7 @@
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.h>
-+#ifndef __APPLE__
-+#include <malloc.h>
-+#endif
++#include <stdlib.h>
#include <signal.h>