aboutsummaryrefslogtreecommitdiffstats
path: root/packages/coreutils/coreutils-5.0/malloc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/coreutils/coreutils-5.0/malloc.patch')
-rw-r--r--packages/coreutils/coreutils-5.0/malloc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/coreutils/coreutils-5.0/malloc.patch b/packages/coreutils/coreutils-5.0/malloc.patch
index e69de29bb2..079b57b94e 100644
--- a/packages/coreutils/coreutils-5.0/malloc.patch
+++ b/packages/coreutils/coreutils-5.0/malloc.patch
@@ -0,0 +1,19 @@
+
+#
+# Made by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- coreutils-5.0/lib/putenv.c~malloc
++++ coreutils-5.0/lib/putenv.c
+@@ -34,9 +34,11 @@
+ char *malloc ();
+ void free ();
+
++#if 0
+ #if defined (__GNU_LIBRARY__) || defined (HAVE_STRING_H)
+ # include <string.h>
+ #endif
++#endif
+ #if defined (__GNU_LIBRARY__) || defined (HAVE_UNISTD_H)
+ # include <unistd.h>
+ #endif