summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-11-25 11:21:05 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-11-25 11:21:05 +0000
commit8fad7a82a85f3f6622425bc425c9818e8a76850c (patch)
treee3a43b724eaffff89db91115c4f36d38aaf7d794 /net-misc/radvd/radvd-2.14.ebuild
parentnet-misc/radvd: backport nd_opt_6co serialization, bug #637958 (diff)
downloadgentoo-8fad7a82a85f3f6622425bc425c9818e8a76850c.tar.gz
gentoo-8fad7a82a85f3f6622425bc425c9818e8a76850c.tar.bz2
gentoo-8fad7a82a85f3f6622425bc425c9818e8a76850c.zip
net-misc/radvd: fix build aganst linux-headers, bug #625236
Patch by Murilo Morais Closes: https://bugs.gentoo.org/625236 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'net-misc/radvd/radvd-2.14.ebuild')
-rw-r--r--net-misc/radvd/radvd-2.14.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-misc/radvd/radvd-2.14.ebuild b/net-misc/radvd/radvd-2.14.ebuild
index 866364355569..2dfcb3af875c 100644
--- a/net-misc/radvd/radvd-2.14.ebuild
+++ b/net-misc/radvd/radvd-2.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -33,6 +33,10 @@ pkg_setup() {
[[ -d ${ROOT}/var/run/radvd ]] && chown radvd:radvd "${ROOT}"/var/run/radvd
}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-headers.patch
+}
+
src_configure() {
econf --with-pidfile=/var/run/radvd/radvd.pid \
--disable-silent-rules \