commit:     58a5c384e23090d3f0cf85370ce0409c4c387081
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 09:18:11 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 09:18:36 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a5c384

dev-util/ltrace: fix build on ia64

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/ltrace/files/ltrace-0.7.3-ia64-pid_t.patch | 6 ++++++
 dev-util/ltrace/ltrace-0.7.3_p4.ebuild              | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

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 00000000000..c466ce17e02
--- /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 <sys/ptrace.h>
++#include <sys/types.h> /* pid_t */
+ #include <string.h>

diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild 
b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild
index fd5f6d7ae50..c17e3402f37 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
 }

Reply via email to