summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-04-13 11:16:46 +0200
committerJeroen Roovers <jer@gentoo.org>2020-04-13 11:16:56 +0200
commitbd4c357c3ea9b5951fd3065d65e92b38e247edc4 (patch)
tree47515ae645def2ca87db80294d1ff1dda23af809 /net-analyzer/lft
parentsys-kernel/vanilla-sources: Automated version bump to {4.4.219,4.9.219,4.14.1... (diff)
downloadgentoo-bd4c357c3ea9b5951fd3065d65e92b38e247edc4.tar.gz
gentoo-bd4c357c3ea9b5951fd3065d65e92b38e247edc4.tar.bz2
gentoo-bd4c357c3ea9b5951fd3065d65e92b38e247edc4.zip
net-analyzer/lft: EAPI=7, suppress some compiler warnings
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/lft')
-rw-r--r--net-analyzer/lft/lft-3.90.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-analyzer/lft/lft-3.90.ebuild b/net-analyzer/lft/lft-3.90.ebuild
index 03717b24b8ca..d874cf1a0c8c 100644
--- a/net-analyzer/lft/lft-3.90.ebuild
+++ b/net-analyzer/lft/lft-3.90.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DESCRIPTION="Layer Four Traceroute (LFT) and WhoB"
HOMEPAGE="http://pwhois.org/lft/"
@@ -22,6 +22,9 @@ S=${WORKDIR}/${P/0}
DOCS=( CHANGELOG README TODO )
src_prepare() {
+ sed -i -e 's:strip:true:g' Makefile.in || die
+ sed -i \
+ -e 's|_BSD_SOURCE|_DEFAULT_SOURCE|g' \
+ configure config/acconfig.h.in || die
default
- sed -i Makefile.in -e 's:strip:true:g' || die
}