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
+--- a/sysdeps/linux-gnu/alpha/plt.c 2012-11-10 13:43:55.000000000 +0100
++++ b/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
+--- a/sysdeps/linux-gnu/alpha/trace.c 2016-06-27 23:30:08.000000000 +0200
++++ b/sysdeps/linux-gnu/alpha/trace.c 2016-06-27 23:25:20.000000000 +0200
@@ -29,0 +30 @@
+#include "backend.h"
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils
+EAPI=7
+inherit autotools
LTRACE_V=${PV/_p*/}
DB_V=${PV/*_p/}
sys-libs/binutils-libs
test? ( dev-util/dejagnu )"
+RESTRICT="!test? ( test )"
+
S=${WORKDIR}/${PN}-${LTRACE_V}
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
+ "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
+ "${FILESDIR}"/${PN}-0.7.3-ia64.patch
+ "${FILESDIR}"/${PN}-0.7.3-print-test-pie.patch
+ "${FILESDIR}"/${PN}-0.7.3-ia64-pid_t.patch
+)
+
src_prepare() {
- epatch "${WORKDIR}"/debian/patches/[0-9]*
- epatch "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
- epatch "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
- epatch "${FILESDIR}"/${PN}-0.7.3-ia64.patch
- epatch "${FILESDIR}"/${PN}-0.7.3-print-test-pie.patch
- epatch "${FILESDIR}"/${PN}-0.7.3-ia64-pid_t.patch
+ eapply "${WORKDIR}"/debian/patches/[0-9]*
+
+ default
+
sed -i '/^dist_doc_DATA/d' Makefile.am || die
eautoreconf
}