summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2019-04-14 18:13:26 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2019-04-14 18:13:26 +0300
commitad1b678690ba50a48fff3ac231747c9dcc043f05 (patch)
treef2d81d815f2680d604e68319b90cdfb562fc7439 /dev-util/trinity/trinity-9999.ebuild
parentapp-emulation/wine-staging: Drop old (diff)
downloadgentoo-ad1b678690ba50a48fff3ac231747c9dcc043f05.tar.gz
gentoo-ad1b678690ba50a48fff3ac231747c9dcc043f05.tar.bz2
gentoo-ad1b678690ba50a48fff3ac231747c9dcc043f05.zip
dev-util/trinity: version bump
Take an orphaned package for a maintenace. Update to version 1.9 which fixes bug 669604. Closes: https://bugs.gentoo.org/669604 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'dev-util/trinity/trinity-9999.ebuild')
-rw-r--r--dev-util/trinity/trinity-9999.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-util/trinity/trinity-9999.ebuild b/dev-util/trinity/trinity-9999.ebuild
index 4245b613481a..3910c2f87cdd 100644
--- a/dev-util/trinity/trinity-9999.ebuild
+++ b/dev-util/trinity/trinity-9999.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=7
@@ -13,11 +13,15 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="examples"
-DEPEND="sys-kernel/linux-headers"
+# We need newer headers to avoid compilation failures in the BPF stuff.
+DEPEND="
+ >=sys-kernel/linux-headers-4.8
+"
src_prepare() {
sed -e 's/-g -O2//' \
-e 's/-D_FORTIFY_SOURCE=2//' \
+ -e 's/-Werror//' \
-e '/-o $@/s/$(LDFLAGS) //' \
-i Makefile || die
@@ -32,6 +36,7 @@ src_compile() {
src_install() {
dobin ${PN}
dodoc Documentation/* README
+ doman trinity.1
if use examples ; then
exeinto /usr/share/doc/${PF}/scripts