From cdfd4f0c915964d401cba19362c7dea8e89ad1da Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 23 Aug 2022 14:44:46 +0100 Subject: gentoo auto-resync : 23:08:2022 - 14:44:46 --- net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild') 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() { -- cgit v1.2.3