diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2017-02-22 21:02:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 23:27:07 +0000 |
commit | 6828b03ac5417d8a4436d986376d39e8e739b49d (patch) | |
tree | fbfa4243ef28741d6230b126d4f572afffad3fb6 /meta/recipes-extended/parted | |
parent | d4369c50045d01daae5cb17e6401b085dc189f8e (diff) | |
download | poky-6828b03ac5417d8a4436d986376d39e8e739b49d.tar.gz |
parted: fix build with glibc-2.25
(From OE-Core rev: 792568406f49be7a83cf7f69af3a17abd46adc7c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/parted')
-rw-r--r-- | meta/recipes-extended/parted/parted/parted-3.2-sysmacros.patch | 32 | ||||
-rw-r--r-- | meta/recipes-extended/parted/parted_3.2.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-extended/parted/parted/parted-3.2-sysmacros.patch b/meta/recipes-extended/parted/parted/parted-3.2-sysmacros.patch new file mode 100644 index 0000000000..211e6c7340 --- /dev/null +++ b/meta/recipes-extended/parted/parted/parted-3.2-sysmacros.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | https://bugs.gentoo.org/580022 | ||
2 | |||
3 | From dec8995fe80508374beba6356f6ecbba8ef6b18b Mon Sep 17 00:00:00 2001 | ||
4 | From: Mike Frysinger <vapier@gentoo.org> | ||
5 | Date: Tue, 21 Jun 2016 15:01:08 -0400 | ||
6 | Subject: [PATCH] include sysmacros.h for major/minor/makedev | ||
7 | |||
8 | Linux C libs are moving away from including this header implicitly via | ||
9 | sys/types.h, so include it explicitly. | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
13 | |||
14 | --- | ||
15 | libparted/arch/linux.c | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c | ||
19 | index 326b95619d31..e5c168be3c68 100644 | ||
20 | --- a/libparted/arch/linux.c | ||
21 | +++ b/libparted/arch/linux.c | ||
22 | @@ -37,6 +37,7 @@ | ||
23 | #include <dirent.h> | ||
24 | #include <sys/ioctl.h> | ||
25 | #include <sys/stat.h> | ||
26 | +#include <sys/sysmacros.h> | ||
27 | #include <sys/types.h> | ||
28 | #include <sys/utsname.h> /* for uname() */ | ||
29 | #include <scsi/scsi.h> | ||
30 | -- | ||
31 | 2.8.2 | ||
32 | |||
diff --git a/meta/recipes-extended/parted/parted_3.2.bb b/meta/recipes-extended/parted/parted_3.2.bb index 30c00c861b..edc4bd3cc4 100644 --- a/meta/recipes-extended/parted/parted_3.2.bb +++ b/meta/recipes-extended/parted/parted_3.2.bb | |||
@@ -13,6 +13,7 @@ SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \ | |||
13 | file://fix-compile-failure-while-dis.patch \ | 13 | file://fix-compile-failure-while-dis.patch \ |
14 | file://0001-Include-fcntl.h-in-platform_defs.h.patch \ | 14 | file://0001-Include-fcntl.h-in-platform_defs.h.patch \ |
15 | file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ | 15 | file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ |
16 | file://parted-3.2-sysmacros.patch \ | ||
16 | file://run-ptest \ | 17 | file://run-ptest \ |
17 | file://Makefile \ | 18 | file://Makefile \ |
18 | " | 19 | " |