summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/parted
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/parted')
-rw-r--r--meta/recipes-extended/parted/parted/parted-3.2-sysmacros.patch32
-rw-r--r--meta/recipes-extended/parted/parted_3.2.bb1
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 @@
1https://bugs.gentoo.org/580022
2
3From dec8995fe80508374beba6356f6ecbba8ef6b18b Mon Sep 17 00:00:00 2001
4From: Mike Frysinger <vapier@gentoo.org>
5Date: Tue, 21 Jun 2016 15:01:08 -0400
6Subject: [PATCH] include sysmacros.h for major/minor/makedev
7
8Linux C libs are moving away from including this header implicitly via
9sys/types.h, so include it explicitly.
10
11Upstream-Status: Pending
12Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13
14---
15 libparted/arch/linux.c | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
19index 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--
312.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"