commit:     2e6db7aca3449f4e15bbe917a0eacbe1859a8dbb
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  8 19:17:28 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Feb  8 19:17:50 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6db7ac

net-misc/dhcpcd: Revbump to fix USE="-ipv6" build.

Closes: https://bugs.gentoo.org/677508
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 ...{dhcpcd-7.1.1.ebuild => dhcpcd-7.1.1-r1.ebuild} |  4 ++++
 .../files/dhcpcd-7.1.1-disable_inet6_fix.patch     | 24 ++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/net-misc/dhcpcd/dhcpcd-7.1.1.ebuild 
b/net-misc/dhcpcd/dhcpcd-7.1.1-r1.ebuild
similarity index 98%
rename from net-misc/dhcpcd/dhcpcd-7.1.1.ebuild
rename to net-misc/dhcpcd/dhcpcd-7.1.1-r1.ebuild
index 48ba26275d0..c8f7876e781 100644
--- a/net-misc/dhcpcd/dhcpcd-7.1.1.ebuild
+++ b/net-misc/dhcpcd/dhcpcd-7.1.1-r1.ebuild
@@ -27,6 +27,10 @@ COMMON_DEPEND="udev? ( virtual/udev )"
 DEPEND="${COMMON_DEPEND}"
 RDEPEND="${COMMON_DEPEND}"
 
+PATCHES=(
+       "${FILESDIR}"/${P}-disable_inet6_fix.patch #677508
+)
+
 src_configure() {
        local dev hooks=() rundir
        use udev || dev="--without-dev --without-udev"

diff --git a/net-misc/dhcpcd/files/dhcpcd-7.1.1-disable_inet6_fix.patch 
b/net-misc/dhcpcd/files/dhcpcd-7.1.1-disable_inet6_fix.patch
new file mode 100644
index 00000000000..2fd3a17428f
--- /dev/null
+++ b/net-misc/dhcpcd/files/dhcpcd-7.1.1-disable_inet6_fix.patch
@@ -0,0 +1,24 @@
+From 6db54edd1427823dcb3924be78c042915a825fb1 Mon Sep 17 00:00:00 2001
+From: Chris Clayton <[email protected]>
+Date: Fri, 8 Feb 2019 16:35:36 +0000
+Subject: fix build with --disable-inet6
+
+---
+ src/dhcpcd.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/dhcpcd.c b/src/dhcpcd.c
+index a2cd04e..6fe60ea 100644
+--- a/src/dhcpcd.c
++++ b/src/dhcpcd.c
+@@ -54,6 +54,7 @@ const char dhcpcd_copyright[] = "Copyright (c) 2006-2019 Roy 
Marples";
+ #include "dev.h"
+ #include "dhcp-common.h"
+ #include "dhcpcd.h"
++#include "dhcp.h"
+ #include "dhcp6.h"
+ #include "duid.h"
+ #include "eloop.h"
+-- 
+cgit v1.1
+

Reply via email to