summaryrefslogtreecommitdiff
path: root/net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-23 14:44:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-23 14:44:46 +0100
commitcdfd4f0c915964d401cba19362c7dea8e89ad1da (patch)
treef6d313d1b57913d1309e00a578166e1e10fa6b8d /net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild
parent05a34d98821265bf73820931936f86704b9002c6 (diff)
gentoo auto-resync : 23:08:2022 - 14:44:46
Diffstat (limited to 'net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild')
-rw-r--r--net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild11
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() {