summaryrefslogtreecommitdiffstats
path: root/patches/argtable2-7/generic/configure-disable-malloc-check.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/argtable2-7/generic/configure-disable-malloc-check.diff')
-rw-r--r--patches/argtable2-7/generic/configure-disable-malloc-check.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/argtable2-7/generic/configure-disable-malloc-check.diff b/patches/argtable2-7/generic/configure-disable-malloc-check.diff
new file mode 100644
index 000000000..f82ffa4c7
--- /dev/null
+++ b/patches/argtable2-7/generic/configure-disable-malloc-check.diff
@@ -0,0 +1,21 @@
+Subject: argtable2: remove malloc check from configure
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+
+Without this patch "rpl_malloc" is used as malloc, which is wrong.
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+
+---
+
+Index: argtable2-7/configure.ac
+===================================================================
+--- argtable2-7.orig/configure.ac 2007-08-07 10:38:26.000000000 +0200
++++ argtable2-7/configure.ac 2007-08-07 10:38:33.000000000 +0200
+@@ -26,7 +26,6 @@
+ AC_STRUCT_TM
+
+ # Checks for library functions.
+-AC_FUNC_MALLOC
+ AC_FUNC_STRFTIME
+ AC_FUNC_STRTOD
+ AC_CHECK_FUNCS([bzero strchr strcspn strrchr strtol])