diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-01 19:20:04 -0700 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-01 19:20:04 -0700 |
commit | dd34ed9a0a12b101a0a2790fee9ad7c1038e460c (patch) | |
tree | b68ae55f3b810936774b32b2e5bd4a485e1038d7 /patches/ltrace/0.7.3/005-sparc-ftbfs.patch | |
parent | 5b4aec54c7e2ef734bee7bc0d447f58fb4293dc4 (diff) | |
parent | d90a3c0ca5284e929f95f61b1c80b473233bc3cc (diff) | |
download | crosstool-ng-dd34ed9a0a12b101a0a2790fee9ad7c1038e460c.tar.gz crosstool-ng-dd34ed9a0a12b101a0a2790fee9ad7c1038e460c.tar.bz2 crosstool-ng-dd34ed9a0a12b101a0a2790fee9ad7c1038e460c.zip |
Merge pull request #157 from bhundven/sync_ltrace_patches
ltrace: Sync ltrace patches with debian
Diffstat (limited to 'patches/ltrace/0.7.3/005-sparc-ftbfs.patch')
-rw-r--r-- | patches/ltrace/0.7.3/005-sparc-ftbfs.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/patches/ltrace/0.7.3/005-sparc-ftbfs.patch b/patches/ltrace/0.7.3/005-sparc-ftbfs.patch new file mode 100644 index 00000000..266a8e68 --- /dev/null +++ b/patches/ltrace/0.7.3/005-sparc-ftbfs.patch @@ -0,0 +1,31 @@ +From: Juan Cespedes <cespedes@debian.org> +Description: fixes compilation on sparc +Last-Update: 2014-01-02 + + +--- ltrace-0.7.3.orig/sysdeps/linux-gnu/sparc/plt.c ++++ ltrace-0.7.3/sysdeps/linux-gnu/sparc/plt.c +@@ -19,8 +19,9 @@ + */ + + #include <gelf.h> ++ + #include "proc.h" +-#include "common.h" ++#include "library.h" + + GElf_Addr + arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) { +--- ltrace-0.7.3.orig/sysdeps/linux-gnu/sparc/trace.c ++++ ltrace-0.7.3/sysdeps/linux-gnu/sparc/trace.c +@@ -26,8 +26,10 @@ + #include <sys/wait.h> + #include <signal.h> + #include <string.h> ++ + #include "ptrace.h" + #include "proc.h" ++#include "backend.h" + #include "common.h" + + void |