From 27881baf8085fdf239547e909a0c725607697a8c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 27 Aug 2009 15:04:26 +0100 Subject: dhcp: Fix to work with glibc 2.9 Signed-off-by: Richard Purdie --- meta/packages/dhcp/dhcp_4.1.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/packages') diff --git a/meta/packages/dhcp/dhcp_4.1.0.bb b/meta/packages/dhcp/dhcp_4.1.0.bb index 4d68389234..cb6b267f30 100644 --- a/meta/packages/dhcp/dhcp_4.1.0.bb +++ b/meta/packages/dhcp/dhcp_4.1.0.bb @@ -2,7 +2,7 @@ SECTION = "console/network" DESCRIPTION = "Internet Software Consortium DHCP package" HOMEPAGE = "http://www.isc.org/" LICENSE = "BSD" -PR = "r6" +PR = "r7" SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \ file://fixincludes.patch;patch=1 \ file://dhcp-3.0.3-dhclient-dbus.patch;patch=1;pnum=0 \ @@ -12,6 +12,8 @@ SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \ inherit autotools +TARGET_CFLAGS += "-D_GNU_SOURCE" + do_compile() { make RANLIB=${RANLIB} PREDEFINES='-D_PATH_DHCPD_DB=\"/var/lib/dhcp/dhcpd.leases\" \ -D_PATH_DHCLIENT_DB=\"/var/lib/dhcp/dhclient.leases\" \ -- cgit v1.2.3-54-g00ecf