From d3bd8fd8712e661fa9fedf19d7ab30c52afa3b4d Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Wed, 1 Aug 2018 23:40:03 +0100 Subject: [PATCH] parted: fix build with glibc-2.28 --- ...ldfix.patch => parted-0001-buildfix.patch} | 0 .../parted-0002-buildfix-glibc-2.28.patch | 29 +++++++++++++++++++ 2 files changed, 29 insertions(+) rename packages/sysutils/parted/patches/{parted-buildfix.patch => parted-0001-buildfix.patch} (100%) create mode 100644 packages/sysutils/parted/patches/parted-0002-buildfix-glibc-2.28.patch diff --git a/packages/sysutils/parted/patches/parted-buildfix.patch b/packages/sysutils/parted/patches/parted-0001-buildfix.patch similarity index 100% rename from packages/sysutils/parted/patches/parted-buildfix.patch rename to packages/sysutils/parted/patches/parted-0001-buildfix.patch diff --git a/packages/sysutils/parted/patches/parted-0002-buildfix-glibc-2.28.patch b/packages/sysutils/parted/patches/parted-0002-buildfix-glibc-2.28.patch new file mode 100644 index 0000000000..8e77a9600e --- /dev/null +++ b/packages/sysutils/parted/patches/parted-0002-buildfix-glibc-2.28.patch @@ -0,0 +1,29 @@ +From b79bdebf285575ec2c3e8944d951655ef8c97a23 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Tue, 21 Jun 2016 15:01:08 -0400 +Subject: [PATCH] include sysmacros.h for major/minor/makedev + +Linux C libs are moving away from including this header implicitly via +sys/types.h, so include it explicitly. + +Upstream-Status: Pending +Signed-off-by: Martin Jansa +--- + libparted/arch/linux.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c +index 0f18904..b302d63 100644 +--- a/libparted/arch/linux.c ++++ b/libparted/arch/linux.c +@@ -37,6 +37,7 @@ + #include + #include + #include ++#include + #include + #include /* for uname() */ + #include +-- +2.14.1 +