From cf48e67c97b3127c52753abe4e15ea22ab0544e6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 14 Feb 2025 06:11:54 +0100 Subject: [PATCH] Adding missing header to fix FTBFS. Signed-off-by: Daniel Baumann --- debian/patches/debian/0013-xmalloc-ftbfs.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/debian/0013-xmalloc-ftbfs.patch 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 +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 + #include + 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