mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
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@gentoo.org>
This commit is contained in:
@@ -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"
|
||||
@@ -0,0 +1,24 @@
|
||||
From 6db54edd1427823dcb3924be78c042915a825fb1 Mon Sep 17 00:00:00 2001
|
||||
From: Chris Clayton <chris2553@googlemail.com>
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user