summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/debian/0013-xmalloc-ftbfs.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/debian/0013-xmalloc-ftbfs.patch b/debian/patches/debian/0013-xmalloc-ftbfs.patch
new file mode 100644
index 0000000..4d82d63
--- /dev/null
+++ b/debian/patches/debian/0013-xmalloc-ftbfs.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Adding missing header to fix FTBFS.
+
+diff -Naurp mdadm.orig/raid6check.c mdadm/raid6check.c
+--- mdadm.orig/raid6check.c
++++ mdadm/raid6check.c
+@@ -23,6 +23,8 @@
+ */
+
+ #include "mdadm.h"
++#include "xmalloc.h"
++
+ #include <stdint.h>
+ #include <sys/mman.h>
+
diff --git a/debian/patches/series b/debian/patches/series
index 3eaa03e..ce8c3fa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ debian/0009-systemd-honor-debconf-daily-scan.patch
debian/0010-mdcheck-fix-empty-spaces-in-timer-unit-files.patch
debian/0011-systemd-directory.patch
debian/0012-bin-directory.patch
+debian/0013-xmalloc-ftbfs.patch