summaryrefslogtreecommitdiff
path: root/src/stage2/patches/lvm2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/stage2/patches/lvm2.patch')
-rw-r--r--src/stage2/patches/lvm2.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/stage2/patches/lvm2.patch b/src/stage2/patches/lvm2.patch
new file mode 100644
index 0000000..229c789
--- /dev/null
+++ b/src/stage2/patches/lvm2.patch
@@ -0,0 +1,18 @@
+--- a/PKGBUILD 2018-02-22 10:27:36.222401768 +0100
++++ b/PKGBUILD 2018-02-22 10:33:51.959185267 +0100
+@@ -40,6 +43,7 @@ prepare() {
+
+ build() {
+ local CONFIGUREOPTS=(
++ --host=@CHOST@ --build=@BUILDHOST@
+ --prefix=/usr
+ --sbindir=/usr/bin
+ --sysconfdir=/etc
+@@ -67,6 +71,7 @@ build() {
+
+ cd LVM2.${pkgver}
+
++ ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes \
+ ./configure "${CONFIGUREOPTS[@]}" --enable-udev-systemd-background-jobs
+ make
+