aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/mdadm/patches/200-reduce_size.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-08-03 11:27:55 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-08-03 11:29:40 +0200
commitba8aeb02eae26771b89390403462e6841621069e (patch)
treeda50d0e09e9e0d3e280ae581a533b8398164ea75 /package/utils/mdadm/patches/200-reduce_size.patch
parenta56d2e9d1b3f4162ed304af3b34b01ece0858138 (diff)
downloadupstream-ba8aeb02eae26771b89390403462e6841621069e.tar.gz
upstream-ba8aeb02eae26771b89390403462e6841621069e.tar.bz2
upstream-ba8aeb02eae26771b89390403462e6841621069e.zip
mdadm: Fix compile with musl 1.1.23
This adds missing includes for sys/sysmacros.h which are needed with musl libc 1.1.23. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/utils/mdadm/patches/200-reduce_size.patch')
-rw-r--r--package/utils/mdadm/patches/200-reduce_size.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/utils/mdadm/patches/200-reduce_size.patch b/package/utils/mdadm/patches/200-reduce_size.patch
index 098fa1e1ec..3b6e879666 100644
--- a/package/utils/mdadm/patches/200-reduce_size.patch
+++ b/package/utils/mdadm/patches/200-reduce_size.patch
@@ -1,6 +1,6 @@
--- a/Incremental.c
+++ b/Incremental.c
-@@ -1619,6 +1619,10 @@ static int Incremental_container(struct supertype *st, char *devname,
+@@ -1620,6 +1620,10 @@ static int Incremental_container(struct
if (ra_all == ra_blocked)
return 0;
@@ -13,7 +13,7 @@
memcpy(suuid, uuid_zero, sizeof(int[4]));
--- a/util.c
+++ b/util.c
-@@ -1220,7 +1220,9 @@ void wait_for(char *dev, int fd)
+@@ -1221,7 +1221,9 @@ void wait_for(char *dev, int fd)
struct superswitch *superlist[] =
{
&super0, &super1,