mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 21:57:02 +02:00
mdadm: fix musl.
This commit is contained in:
parent
f6e0102241
commit
e58d2b17d3
2 changed files with 21 additions and 1 deletions
20
srcpkgs/mdadm/patches/musl.patch
Normal file
20
srcpkgs/mdadm/patches/musl.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- mdadm-4.3/util.c
|
||||
+++ mdadm-4.3/util.c
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <sys/vfs.h>
|
||||
#include <sys/mman.h>
|
||||
#include <linux/magic.h>
|
||||
+#include <limits.h>
|
||||
#include <poll.h>
|
||||
#include <ctype.h>
|
||||
#include <dirent.h>
|
||||
--- mdadm-4.3/Create.c
|
||||
+++ mdadm-4.3/Create.c
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "md_p.h"
|
||||
#include <ctype.h>
|
||||
#include <fcntl.h>
|
||||
+#include <linux/falloc.h>
|
||||
#include <signal.h>
|
||||
#include <sys/signalfd.h>
|
||||
#include <sys/wait.h>
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mdadm'
|
||||
pkgname=mdadm
|
||||
version=4.3
|
||||
revision=1
|
||||
revision=2
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="eudev-libudev-devel"
|
||||
short_desc="Tool for managing/monitoring Linux md device arrays"
|
||||
|
|
Loading…
Add table
Reference in a new issue