aboutsummaryrefslogtreecommitdiff
path: root/package/parted/0005-linux-Include-sys-sysmacros.h-for-major-macro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/parted/0005-linux-Include-sys-sysmacros.h-for-major-macro.patch')
-rw-r--r--package/parted/0005-linux-Include-sys-sysmacros.h-for-major-macro.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/package/parted/0005-linux-Include-sys-sysmacros.h-for-major-macro.patch b/package/parted/0005-linux-Include-sys-sysmacros.h-for-major-macro.patch
deleted file mode 100644
index e0b4c2acba..0000000000
--- a/package/parted/0005-linux-Include-sys-sysmacros.h-for-major-macro.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From ba5e0451b51c983e40afd123b6e0d3eddb55e610 Mon Sep 17 00:00:00 2001
-From: "Richard W.M. Jones" <rjones@redhat.com>
-Date: Sat, 24 Mar 2018 17:37:02 +0000
-Subject: [PATCH] linux: Include <sys/sysmacros.h> for major() macro.
-
-Since glibc 2.27 this header is required.
-
-Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
----
- libparted/arch/linux.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
-index 31b98ab..7e86b51 100644
---- a/libparted/arch/linux.c
-+++ b/libparted/arch/linux.c
-@@ -41,6 +41,7 @@
- #include <sys/utsname.h> /* for uname() */
- #include <scsi/scsi.h>
- #include <assert.h>
-+#include <sys/sysmacros.h>
- #ifdef ENABLE_DEVICE_MAPPER
- #include <libdevmapper.h>
- #endif
---
-2.17.1
-