From a2bc2463c651af12b93f4d46d6d4d890ec94ee45 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 27 Jun 2016 22:40:19 +0100 Subject: dev-util/ltrace: restore basic alpha support Builds successfully on gcc-5.4.0 and can trace calls to calls like 'gcc -v'. Package-Manager: portage-2.3.0 --- dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch (limited to 'dev-util/ltrace/files') diff --git a/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch b/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch new file mode 100644 index 000000000000..659952bdf148 --- /dev/null +++ b/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch @@ -0,0 +1,14 @@ +Fix build failure on alpha: + plt.c:32:12: error: dereferencing pointer to incomplete type ‘struct library_symbol’ + return sym->enter_addr; + ^ +diff -U0 -raN ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c +--- ltrace-0.7.3_p4/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c 2012-11-10 13:43:55.000000000 +0100 ++++ foo/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c 2016-06-27 23:21:28.000000000 +0200 +@@ -23,0 +24 @@ ++#include "library.h" +diff -U0 -raN ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c +--- ltrace-0.7.3_p4/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c 2016-06-27 23:30:08.000000000 +0200 ++++ foo/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c 2016-06-27 23:25:20.000000000 +0200 +@@ -29,0 +30 @@ ++#include "backend.h" -- cgit v1.2.3-65-gdbad