diff options
author | 2015-08-30 20:36:20 +0100 | |
---|---|---|
committer | 2015-08-31 00:39:44 +0200 | |
commit | fe15d50310afed4c0f59826244b9e61e509d4a6f (patch) | |
tree | c48fce756ccf450879cf70efb7191d7539dd9a77 | |
parent | 7bac31ceea1b52986b1773a1bd4841110672f923 (diff) | |
download | buildroot-fe15d50310afed4c0f59826244b9e61e509d4a6f.tar.gz buildroot-fe15d50310afed4c0f59826244b9e61e509d4a6f.tar.bz2 |
package/bootutils: fix musl compilation issue
Fixes:
http://autobuild.buildroot.net/results/389/38914a0a7ff0aa79acbbbe6c46ab701325dfceb8/
http://autobuild.buildroot.net/results/c0d/c0d09f5dd0e26c0d2454ebb2ea5317db1135db89/
musl requires strict inclusion of <sys/types.h> for makedev(3).
note - upstream project appears dead since 2009.
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/bootutils/0001-fix-musl-compilation-issue.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/bootutils/0001-fix-musl-compilation-issue.patch b/package/bootutils/0001-fix-musl-compilation-issue.patch new file mode 100644 index 0000000000..ccb6ef61ec --- /dev/null +++ b/package/bootutils/0001-fix-musl-compilation-issue.patch @@ -0,0 +1,31 @@ +From e4c2c18b9d1d7a6dc17d8f7705b26fc2e2efc5a9 Mon Sep 17 00:00:00 2001 +From: Brendan Heading <brendanheading@gmail.com> +Date: Sun, 30 Aug 2015 20:12:40 +0100 +Subject: [PATCH 1/1] fix musl compilation issue + +makedev(3) requires sys/types.h to be included. + +Note upstream has not issued releases since 2009. No mailing list activity +since January 2010, and even before then it seems to be mostly spam. + +Upstream-Status: dormant +Signed-off-by: Brendan Heading <brendanheading@gmail.com> +--- + raidscan.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/raidscan.c b/raidscan.c +index fab3b02..3cb1a0d 100644 +--- a/raidscan.c ++++ b/raidscan.c +@@ -22,6 +22,7 @@ + #include "config.h" + + #include <sys/stat.h> ++#include <sys/types.h> + #include <fcntl.h> + #include <sys/ioctl.h> + #include <linux/major.h> +-- +2.4.3 + |