From: Jeroen Roovers Date: Mon, 13 Apr 2020 09:16:46 +0000 (+0200) Subject: net-analyzer/lft: EAPI=7, suppress some compiler warnings X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bd4c357c3ea9b5951fd3065d65e92b38e247edc4;p=gentoo.git net-analyzer/lft: EAPI=7, suppress some compiler warnings Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jeroen Roovers --- 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 }