From 2d2e3a53b982994e588e67c8392ddd762ae92d1a Mon Sep 17 00:00:00 2001 From: Rmys Date: Tue, 2 Oct 2018 16:00:43 +0300 Subject: [PATCH] mdadm:rebuild --- hardware/disk/mdadm/files/sysmacros.patch | 77 +++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 hardware/disk/mdadm/files/sysmacros.patch diff --git a/hardware/disk/mdadm/files/sysmacros.patch b/hardware/disk/mdadm/files/sysmacros.patch new file mode 100644 index 00000000..e8cedb27 --- /dev/null +++ b/hardware/disk/mdadm/files/sysmacros.patch @@ -0,0 +1,77 @@ +diff -Nuar a/crc32c.c b/crc32c.c +--- a/crc32c.c 2016-01-28 08:14:56.000000000 +0200 ++++ b/crc32c.c 2018-10-01 21:34:33.000000000 +0300 +@@ -27,6 +27,7 @@ + */ + + #include ++#include + #include + #include + +diff -Nuar a/mdadm.h b/mdadm.h +--- a/mdadm.h 2016-01-28 08:14:56.000000000 +0200 ++++ b/mdadm.h 2018-10-01 21:35:23.000000000 +0300 +@@ -34,6 +34,7 @@ + #endif + + #include ++#include + #include + #include + #include +diff -Nuar a/mdmon.c b/mdmon.c +--- a/mdmon.c 2016-01-28 08:14:56.000000000 +0200 ++++ b/mdmon.c 2018-10-01 21:35:42.000000000 +0300 +@@ -46,6 +46,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff -Nuar a/msg.c b/msg.c +--- a/msg.c 2016-01-28 08:14:56.000000000 +0200 ++++ b/msg.c 2018-10-01 21:35:57.000000000 +0300 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + #include "mdadm.h" +diff -Nuar a/platform-intel.c b/platform-intel.c +--- a/platform-intel.c 2016-01-28 08:14:56.000000000 +0200 ++++ b/platform-intel.c 2018-10-01 21:36:16.000000000 +0300 +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + #include + #include + +diff -Nuar a/probe_roms.c b/probe_roms.c +--- a/probe_roms.c 2016-01-28 08:14:56.000000000 +0200 ++++ b/probe_roms.c 2018-10-01 21:36:27.000000000 +0300 +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + #include + + static void *rom_mem = MAP_FAILED; +diff -Nuar a/sha1.h b/sha1.h +--- a/sha1.h 2016-01-28 08:14:56.000000000 +0200 ++++ b/sha1.h 2018-10-01 21:36:43.000000000 +0300 +@@ -35,6 +35,7 @@ + + #ifdef _LIBC + # include ++#include + typedef u_int32_t sha1_uint32; + typedef uintptr_t sha1_uintptr; + #else