From 0096ba8a9670b53b45ca6398f589214167c17ffc Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 20 Apr 2010 11:15:59 +0000 Subject: main/dhcp: fix for ipv6 --- main/dhcp/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD index 33f4e853..4ecd8dff 100644 --- a/main/dhcp/APKBUILD +++ b/main/dhcp/APKBUILD @@ -2,7 +2,7 @@ pkgname=dhcp pkgver=4.1.0_p1 _realver=4.1.0p1 -pkgrel=8 +pkgrel=9 pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)" url="https://www.isc.org/" license="GPL" @@ -26,6 +26,8 @@ prepare() { build() { cd "$srcdir/$pkgname-$_realver" + # fix ipv6 + export CFLAGS="$CFLAGS -D_GNU_SOURCE" ./configure --prefix=/usr \ --sysconfdir=/etc/dhcp \ --with-cli-pid-file=/var/run/dhcp/dhclient.pid \ -- cgit v1.2.3