[oe-commits] Dmitry Eremin-Solenikov : ltrace: fix compilation on PPC platforms

git version control git at git.openembedded.org
Sun Nov 15 00:53:43 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 5034d680a5eabbc3f92eecb2fc489100e145b058
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5034d680a5eabbc3f92eecb2fc489100e145b058

Author: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Date:   Sun Nov 15 03:53:17 2009 +0300

ltrace: fix compilation on PPC platforms

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>

---

 recipes/ltrace/files/ltrace-ppc.patch |   11 +++++++++++
 recipes/ltrace/ltrace_0.5.3.bb        |    1 +
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/recipes/ltrace/files/ltrace-ppc.patch b/recipes/ltrace/files/ltrace-ppc.patch
new file mode 100644
index 0000000..d5ea0f0
--- /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 <gelf.h>
+ #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 a6916be..050a023 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
 





More information about the Openembedded-commits mailing list