From ebad446ea96acbafda031fa3ffa7e61a77df424b Mon Sep 17 00:00:00 2001 From: defect1ve Date: Tue, 26 Nov 2024 14:46:47 +0100 Subject: [PATCH] mdadm: fix segfault on musl --- srcpkgs/mdadm/patches/musl.patch | 10 ++++++++++ srcpkgs/mdadm/template | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mdadm/patches/musl.patch b/srcpkgs/mdadm/patches/musl.patch index 4af6c311bb3..e36f524c217 100644 --- a/srcpkgs/mdadm/patches/musl.patch +++ b/srcpkgs/mdadm/patches/musl.patch @@ -18,3 +18,13 @@ #include #include #include +--- mdadm-4.3/Monitor.c ++++ mdadm-4.3/Monitor.c +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + + #define TASK_COMM_LEN 16 + #define EVENT_NAME_MAX 32 diff --git a/srcpkgs/mdadm/template b/srcpkgs/mdadm/template index c49061e9a1f..2e2f07e1cd7 100644 --- a/srcpkgs/mdadm/template +++ b/srcpkgs/mdadm/template @@ -1,7 +1,7 @@ # Template file for 'mdadm' pkgname=mdadm version=4.3 -revision=2 +revision=3 hostmakedepends="pkg-config" makedepends="eudev-libudev-devel" short_desc="Tool for managing/monitoring Linux md device arrays"