diff options
Diffstat (limited to 'common/recipes-extended/hdparm')
-rw-r--r-- | common/recipes-extended/hdparm/files/0001-geom-sysfs-fix-build-with-glibc-2.28.patch | 42 | ||||
-rw-r--r-- | common/recipes-extended/hdparm/hdparm_9.53.bbappend | 2 |
2 files changed, 0 insertions, 44 deletions
diff --git a/common/recipes-extended/hdparm/files/0001-geom-sysfs-fix-build-with-glibc-2.28.patch b/common/recipes-extended/hdparm/files/0001-geom-sysfs-fix-build-with-glibc-2.28.patch deleted file mode 100644 index ca5de4c3..00000000 --- a/common/recipes-extended/hdparm/files/0001-geom-sysfs-fix-build-with-glibc-2.28.patch +++ /dev/null @@ -1,42 +0,0 @@ -From cc9e15280c621d455d942ef4649acaef4ede3c60 Mon Sep 17 00:00:00 2001 -From: Awais Belal <awais_belal@mentor.com> -Date: Tue, 16 Oct 2018 11:18:37 +0500 -Subject: [PATCH] geom/sysfs: fix build with glibc 2.28+ - -The glibc spec identifies the minor/major functions through -sysmacros.h so add the appropriate header in order to fix -the build. - -Signed-off-by: Awais Belal <awais_belal@mentor.com> ---- - geom.c | 1 + - sysfs.c | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/geom.c b/geom.c -index 982ec55..e180cce 100644 ---- a/geom.c -+++ b/geom.c -@@ -15,6 +15,7 @@ - #include <errno.h> - #include <dirent.h> - #include <sys/stat.h> -+#include <sys/sysmacros.h> - #include <sys/ioctl.h> - #include <linux/types.h> - #include <linux/fs.h> -diff --git a/sysfs.c b/sysfs.c -index a81b148..44d602d 100644 ---- a/sysfs.c -+++ b/sysfs.c -@@ -15,6 +15,7 @@ - #include <dirent.h> - #include <limits.h> - #include <sys/stat.h> -+#include <sys/sysmacros.h> - #include <linux/types.h> - - #include "hdparm.h" --- -2.7.4 - diff --git a/common/recipes-extended/hdparm/hdparm_9.53.bbappend b/common/recipes-extended/hdparm/hdparm_9.53.bbappend deleted file mode 100644 index 1787f1d0..00000000 --- a/common/recipes-extended/hdparm/hdparm_9.53.bbappend +++ /dev/null @@ -1,2 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" -SRC_URI_append_mel-lite = " file://0001-geom-sysfs-fix-build-with-glibc-2.28.patch" |