From 8f6392f59c83117da07a1ebe25b9cbbdf79a6df5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 2 Jan 2016 21:47:58 +0000 Subject: [PATCH] ltp: Remove use of obsolete glibc header sys/kdaemon.h This header has been removed from glibc 2.23+ Signed-off-by: Khem Raj --- ...n-of-deprecated-sys-kdaemon.h-header.patch | 30 +++++++++++++++++++ meta/recipes-extended/ltp/ltp_20150903.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-extended/ltp/ltp/0001-remove-inclusion-of-deprecated-sys-kdaemon.h-header.patch diff --git a/meta/recipes-extended/ltp/ltp/0001-remove-inclusion-of-deprecated-sys-kdaemon.h-header.patch b/meta/recipes-extended/ltp/ltp/0001-remove-inclusion-of-deprecated-sys-kdaemon.h-header.patch new file mode 100644 index 000000000000..62c7b259ac65 --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/0001-remove-inclusion-of-deprecated-sys-kdaemon.h-header.patch @@ -0,0 +1,30 @@ +From b39f1326f4b0e56a3dcb992c447e0ae00517a501 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 1 Jan 2016 11:24:21 +0000 +Subject: [PATCH] remove inclusion of deprecated sys/kdaemon.h header + +glibc 2.23+ has dropped this header and moreover its not used in +testcase + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + testcases/kernel/syscalls/bdflush/bdflush01.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/testcases/kernel/syscalls/bdflush/bdflush01.c b/testcases/kernel/syscalls/bdflush/bdflush01.c +index df739f1..a529ba9 100644 +--- a/testcases/kernel/syscalls/bdflush/bdflush01.c ++++ b/testcases/kernel/syscalls/bdflush/bdflush01.c +@@ -81,7 +81,6 @@ + #include + #include + #include +-#include + + #include "test.h" + #include "linux_syscall_numbers.h" +-- +2.6.4 + diff --git a/meta/recipes-extended/ltp/ltp_20150903.bb b/meta/recipes-extended/ltp/ltp_20150903.bb index a15c70413497..d0e0c3edcb47 100644 --- a/meta/recipes-extended/ltp/ltp_20150903.bb +++ b/meta/recipes-extended/ltp/ltp_20150903.bb @@ -30,6 +30,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \ file://add-knob-for-tirpc.patch \ file://0001-ltp-vma03-fix-the-alginment-of-page-size.patch \ file://0001-Fix-compilation-for-gcc-5.x.patch \ + file://0001-remove-inclusion-of-deprecated-sys-kdaemon.h-header.patch \ " S = "${WORKDIR}/git"