summaryrefslogtreecommitdiff
path: root/recipes/ltrace/files
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-15 03:53:17 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-15 03:53:17 +0300
commit5034d680a5eabbc3f92eecb2fc489100e145b058 (patch)
tree008f00875065b3186b07bee63ba575ea3b6ec5b0 /recipes/ltrace/files
parent02676a9fbb22dfe78f45132392315736e351d187 (diff)
ltrace: fix compilation on PPC platforms
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'recipes/ltrace/files')
-rw-r--r--recipes/ltrace/files/ltrace-ppc.patch11
1 files changed, 11 insertions, 0 deletions
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 <gelf.h>
+ #include "common.h"
++#include "ptrace.h"
+
+ GElf_Addr
+ arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) {