From f75b3ac72099ba48f9351fd8551588d002867778 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 19 Sep 2017 09:31:57 -0700 Subject: ltrace: Fix build with musl/mips Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- .../0001-mips-plt.c-Delete-include-error.h.patch | 27 ++++++++++++++++++++++ meta-oe/recipes-devtools/ltrace/ltrace_git.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta-oe/recipes-devtools/ltrace/ltrace/0001-mips-plt.c-Delete-include-error.h.patch diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/0001-mips-plt.c-Delete-include-error.h.patch b/meta-oe/recipes-devtools/ltrace/ltrace/0001-mips-plt.c-Delete-include-error.h.patch new file mode 100644 index 0000000000..76ba7de785 --- /dev/null +++ b/meta-oe/recipes-devtools/ltrace/ltrace/0001-mips-plt.c-Delete-include-error.h.patch @@ -0,0 +1,27 @@ +From 19a3e590c97420bd3952301bf376067c75d0ee32 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 18 Sep 2017 23:45:54 -0700 +Subject: [PATCH] mips/plt.c: Delete include error.h + +Its not needed + +Signed-off-by: Khem Raj +--- + sysdeps/linux-gnu/mips/plt.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/sysdeps/linux-gnu/mips/plt.c b/sysdeps/linux-gnu/mips/plt.c +index 2d85ad9..9c3ae2f 100644 +--- a/sysdeps/linux-gnu/mips/plt.c ++++ b/sysdeps/linux-gnu/mips/plt.c +@@ -24,7 +24,6 @@ + + #include + #include +-#include + #include + #include + #include +-- +2.14.1 + diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb index 01b3bbe1b3..abe015de2c 100644 --- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb +++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb @@ -24,6 +24,7 @@ SRC_URI = "git://anonscm.debian.org/collab-maint/ltrace.git;branch=master \ file://0001-Fix-tautological-compare-warning.patch \ file://0001-Add-support-for-mips64-n32-n64.patch \ file://0001-configure-Recognise-linux-musl-as-a-host-OS.patch \ + file://0001-mips-plt.c-Delete-include-error.h.patch \ " S = "${WORKDIR}/git" -- cgit v1.2