commit:     bd4c357c3ea9b5951fd3065d65e92b38e247edc4
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 13 09:16:46 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Apr 13 09:16:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4c357c

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 <AT> gentoo.org>

 net-analyzer/lft/lft-3.90.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/lft/lft-3.90.ebuild b/net-analyzer/lft/lft-3.90.ebuild
index 03717b24b8c..d874cf1a0c8 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
 }

Reply via email to