From 5034d680a5eabbc3f92eecb2fc489100e145b058 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Sun, 15 Nov 2009 03:53:17 +0300 Subject: ltrace: fix compilation on PPC platforms Signed-off-by: Dmitry Eremin-Solenikov --- recipes/ltrace/files/ltrace-ppc.patch | 11 +++++++++++ recipes/ltrace/ltrace_0.5.3.bb | 1 + 2 files changed, 12 insertions(+) create mode 100644 recipes/ltrace/files/ltrace-ppc.patch (limited to 'recipes/ltrace') diff --git a/recipes/ltrace/files/ltrace-ppc.patch b/recipes/ltrace/files/ltrace-ppc.patch new file mode 100644 index 0000000000..d5ea0f0bfc --- /dev/null +++ b/recipes/ltrace/files/ltrace-ppc.patch @@ -0,0 +1,11 @@ +Index: ltrace-0.5.3/sysdeps/linux-gnu/ppc/plt.c +=================================================================== +--- ltrace-0.5.3.orig/sysdeps/linux-gnu/ppc/plt.c 2009-11-15 03:46:14.459233772 +0300 ++++ ltrace-0.5.3/sysdeps/linux-gnu/ppc/plt.c 2009-11-15 03:46:25.299232646 +0300 +@@ -1,5 +1,6 @@ + #include + #include "common.h" ++#include "ptrace.h" + + GElf_Addr + arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) { diff --git a/recipes/ltrace/ltrace_0.5.3.bb b/recipes/ltrace/ltrace_0.5.3.bb index a6916be281..050a023159 100644 --- a/recipes/ltrace/ltrace_0.5.3.bb +++ b/recipes/ltrace/ltrace_0.5.3.bb @@ -10,6 +10,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/l/ltrace/ltrace_${PV}.orig.tar.gz \ file://ltrace-compile.patch;patch=1 \ file://ltrace-mips-remove-CP.patch;patch=1 \ file://ltrace-mips.patch;patch=1 \ + file://ltrace-ppc.patch;patch=1 \ " inherit autotools -- cgit 1.2.3-korg