mdadm: fix segfault on musl
This commit is contained in:
parent
b6bc206123
commit
ebad446ea9
|
@ -18,3 +18,13 @@
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <sys/signalfd.h>
|
#include <sys/signalfd.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
--- mdadm-4.3/Monitor.c
|
||||||
|
+++ mdadm-4.3/Monitor.c
|
||||||
|
@@ -29,6 +29,7 @@
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#include <limits.h>
|
||||||
|
#include <syslog.h>
|
||||||
|
+#include <libgen.h>
|
||||||
|
|
||||||
|
#define TASK_COMM_LEN 16
|
||||||
|
#define EVENT_NAME_MAX 32
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mdadm'
|
# Template file for 'mdadm'
|
||||||
pkgname=mdadm
|
pkgname=mdadm
|
||||||
version=4.3
|
version=4.3
|
||||||
revision=2
|
revision=3
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="eudev-libudev-devel"
|
makedepends="eudev-libudev-devel"
|
||||||
short_desc="Tool for managing/monitoring Linux md device arrays"
|
short_desc="Tool for managing/monitoring Linux md device arrays"
|
||||||
|
|
Loading…
Reference in New Issue