diff options
author | Marty E. Plummer <hanetzer@startmail.com> | 2019-06-27 18:00:15 -0500 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-06-28 01:13:50 +0200 |
commit | 67362b18b2c01dfe7deb017f6e7e929138fa932e (patch) | |
tree | 89e9fadcea34cf363239808fa7620fee5f280b09 /net-misc/iputils/iputils-20190515.ebuild | |
parent | net-misc/youtube-dl: Version 2019.06.27 (diff) | |
download | gentoo-67362b18b2c01dfe7deb017f6e7e929138fa932e.tar.gz gentoo-67362b18b2c01dfe7deb017f6e7e929138fa932e.tar.bz2 gentoo-67362b18b2c01dfe7deb017f6e7e929138fa932e.zip |
net-misc/iputils: fix build with USE="-caps"
Upstream patch. Without this change, attempting to emerge
net-misc/iputils-20190515 with USE="-caps" without having
had sys-libs/libcap installed for some other reason will fail during
src_configure due to wrong type of arguments for add_install_script.
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12344
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-misc/iputils/iputils-20190515.ebuild')
-rw-r--r-- | net-misc/iputils/iputils-20190515.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/iputils/iputils-20190515.ebuild b/net-misc/iputils/iputils-20190515.ebuild index ff6506c4be4d..fab32c416ff0 100644 --- a/net-misc/iputils/iputils-20190515.ebuild +++ b/net-misc/iputils/iputils-20190515.ebuild @@ -71,7 +71,9 @@ fi [ "${PV}" == "99999999" ] || S="${WORKDIR}/${PN}-s${PV}" -PATCHES=() +PATCHES=( + "${FILESDIR}"/${PN}-20190515-fix-setcap.patch +) src_prepare() { use SECURITY_HAZARD && PATCHES+=( "${FILESDIR}"/${PN}-20150815-nonroot-floodping.patch ) |