From: Sergei Trofimovich Date: Mon, 18 Mar 2019 09:18:11 +0000 (+0000) Subject: dev-util/ltrace: fix build on ia64 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=58a5c384e23090d3f0cf85370ce0409c4c387081;p=gentoo.git dev-util/ltrace: fix build on ia64 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich --- diff --git a/dev-util/ltrace/files/ltrace-0.7.3-ia64-pid_t.patch b/dev-util/ltrace/files/ltrace-0.7.3-ia64-pid_t.patch new file mode 100644 index 000000000000..c466ce17e02d --- /dev/null +++ b/dev-util/ltrace/files/ltrace-0.7.3-ia64-pid_t.patch @@ -0,0 +1,6 @@ +--- a/sysdeps/linux-gnu/ia64/breakpoint.c ++++ b/sysdeps/linux-gnu/ia64/breakpoint.c +@@ -26,2 +26,3 @@ + #include ++#include /* pid_t */ + #include diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild index fd5f6d7ae503..c17e3402f379 100644 --- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild +++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -34,6 +34,7 @@ src_prepare() { 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 sed -i '/^dist_doc_DATA/d' Makefile.am || die eautoreconf }