diff options
Diffstat (limited to 'net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild')
-rw-r--r-- | net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild b/net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild index 5757f718f4d5..a8e991173aaa 100644 --- a/net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild +++ b/net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Effectively suppresses illegal DHCP servers on the LAN" HOMEPAGE="http://www.netpatch.ru/dhcdrop.html" @@ -19,13 +19,18 @@ DEPEND="static? ( net-libs/libpcap[static-libs] ) DOCS=( AUTHORS ChangeLog INSTALL NEWS README ) +PATCHES=( + # Fix building with -flto, bug #861608 + "${FILESDIR}/${P}-lto.patch" +) + src_prepare() { # Fix building with clang, bug #731694 sed -i \ -e '/^PACKAGE_/s/"//g' \ configure || die - eapply_user + default } src_configure() { |