diff options
Diffstat (limited to 'patches/lvm/2.03.22/lvm2-014-make-malloc-realloc-check-optional.patch')
-rw-r--r-- | patches/lvm/2.03.22/lvm2-014-make-malloc-realloc-check-optional.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/lvm/2.03.22/lvm2-014-make-malloc-realloc-check-optional.patch b/patches/lvm/2.03.22/lvm2-014-make-malloc-realloc-check-optional.patch new file mode 100644 index 0000000..a5bd48a --- /dev/null +++ b/patches/lvm/2.03.22/lvm2-014-make-malloc-realloc-check-optional.patch @@ -0,0 +1,23 @@ +Breaks cross-compilation + +--- a/configure.ac ++++ b/configure.ac +@@ -154,15 +154,16 @@ AC_FUNC_CLOSEDIR_VOID + AC_FUNC_CHOWN + AC_FUNC_FORK + AC_FUNC_LSTAT +-AC_FUNC_MALLOC + AC_FUNC_MEMCMP + AC_FUNC_MKTIME + AC_FUNC_MMAP +-AC_FUNC_REALLOC + AC_FUNC_STAT + AC_FUNC_STRTOD + AC_FUNC_VPRINTF + ++# Optional functions ++AC_CHECK_FUNCS([malloc realloc]) ++ + ################################################################################ + dnl -- Disable dependency tracking + AC_MSG_CHECKING(whether to enable dependency tracking) |