# HG changeset patch # User Anthony Foiani # Date 1285770677 21600 # Node ID 47eeda1e587218445b8abcc2cecbfd91cc35b0f5 # Parent 469830f72fe70771bb6e66f245a004569ce0bd25 Make sure that the PTRACE_... symbols are available for ppc/plt.c. On a Fedora 12 x86_64 build/host box, this file was complaining about PTRACE_PEEKTEXT being undefined. Adding in the "ptrace.h" include fixed it. Signed-off-by: Anthony Foiani diff -r 469830f72fe7 -r 47eeda1e5872 patches/ltrace/0.5.3/160-fix-missing-ptrace-defines.patch --- a/patches/ltrace/0.5.3/160-fix-missing-ptrace-defines.patch Sun Oct 03 23:11:27 2010 +0200 +++ b/patches/ltrace/0.5.3/160-fix-missing-ptrace-defines.patch Wed Sep 29 08:31:17 2010 -0600 @@ -70,3 +70,12 @@ + +#endif /* PTRACE_EVENT_FORK */ +#endif /* __SYSDEPS_TRACE_H__ */ +--- ltrace-0.5.3.orig/sysdeps/linux-gnu/ppc/plt.c 2009-07-25 09:13:02.000000000 -0600 ++++ ltrace-0.5.3/sysdeps/linux-gnu/ppc/plt.c 2010-09-28 18:30:07.091618190 -0600 +@@ -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) {