diff options
author | Ben Kohler <bkohler@gentoo.org> | 2024-04-30 09:04:35 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2024-04-30 09:04:35 -0500 |
commit | 36c766b3a6c3dc39e89808432b19b39d79924e7b (patch) | |
tree | 2a226c3618ba5081e763904568d57a2adb7227d5 | |
parent | patches/lvm: update for 2.03.22 (diff) | |
download | genkernel-36c766b3a6c3dc39e89808432b19b39d79924e7b.tar.gz genkernel-36c766b3a6c3dc39e89808432b19b39d79924e7b.tar.bz2 genkernel-36c766b3a6c3dc39e89808432b19b39d79924e7b.zip |
patches/mdadm: update for 4.2
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
-rw-r--r-- | patches/mdadm/4.2/mdadm-3.4-sysmacros.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/patches/mdadm/4.2/mdadm-3.4-sysmacros.patch b/patches/mdadm/4.2/mdadm-3.4-sysmacros.patch new file mode 100644 index 00000000..22a39344 --- /dev/null +++ b/patches/mdadm/4.2/mdadm-3.4-sysmacros.patch @@ -0,0 +1,31 @@ +https://bugs.gentoo.org/580188 + +From 5c97e465b33bf8fefb17da7f553a1c3812e508d5 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Tue, 19 Apr 2016 18:10:54 -0400 +Subject: [PATCH] include sys/sysmacros.h for major/minor/makedev prototypes + +These funcs are defined in sys/sysmacros.h, so include it for them. +It works today due to an implicit include by sys/types.h, but the +various Linux C libraries are moving away from that. + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + mdadm.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/mdadm.h b/mdadm.h +index d209488..b8767a7 100755 +--- a/mdadm.h ++++ b/mdadm.h +@@ -33,6 +33,7 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence)); + # endif + #endif + ++#include <sys/sysmacros.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <stdint.h> +-- +2.7.4 + |