summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-03-18 09:18:11 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-03-18 09:18:36 +0000
commit58a5c384e23090d3f0cf85370ce0409c4c387081 (patch)
treebf0e3f8cfd6fb163217f60fa50f8a947bdff2ed3
parentdev-libs/nss: Reinstate version 3.42.1 (diff)
downloadgentoo-58a5c384e23090d3f0cf85370ce0409c4c387081.tar.gz
gentoo-58a5c384e23090d3f0cf85370ce0409c4c387081.tar.bz2
gentoo-58a5c384e23090d3f0cf85370ce0409c4c387081.zip
dev-util/ltrace: fix build on ia64
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--dev-util/ltrace/files/ltrace-0.7.3-ia64-pid_t.patch6
-rw-r--r--dev-util/ltrace/ltrace-0.7.3_p4.ebuild3
2 files changed, 8 insertions, 1 deletions
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 <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 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
}