From ce732fbc7621423081476d110f9c8ee9d909c091 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Sun, 16 Oct 2005 17:06:33 +0000 Subject: dhcp: added patch to fix build problem - close bug #400 - patch add into tr.c - resolution provided by Stefan Sander --- packages/dhcp/dhcp_3.0.1.bb | 3 ++- packages/dhcp/dhcp_3.0.2.bb | 3 ++- packages/dhcp/files/fixincludes.patch | 10 ++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 packages/dhcp/files/fixincludes.patch diff --git a/packages/dhcp/dhcp_3.0.1.bb b/packages/dhcp/dhcp_3.0.1.bb index c734af1534..5241fc6f69 100644 --- a/packages/dhcp/dhcp_3.0.1.bb +++ b/packages/dhcp/dhcp_3.0.1.bb @@ -3,9 +3,10 @@ DESCRIPTION = "Internet Software Consortium DHCP package" HOMEPAGE = "http://www.isc.org/" MAINTAINER = "Bruno Randolf " LICENSE = "BSD" -PR = "r1" +PR = "r2" SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-3.0-history/dhcp-${PV}.tar.gz \ file://noattrmode.patch;patch=1 \ + file://fixincludes.patch;patch=1 \ file://init-relay file://default-relay \ file://init-server file://default-server \ file://dhclient.conf file://dhcpd.conf" diff --git a/packages/dhcp/dhcp_3.0.2.bb b/packages/dhcp/dhcp_3.0.2.bb index c734af1534..5241fc6f69 100644 --- a/packages/dhcp/dhcp_3.0.2.bb +++ b/packages/dhcp/dhcp_3.0.2.bb @@ -3,9 +3,10 @@ DESCRIPTION = "Internet Software Consortium DHCP package" HOMEPAGE = "http://www.isc.org/" MAINTAINER = "Bruno Randolf " LICENSE = "BSD" -PR = "r1" +PR = "r2" SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-3.0-history/dhcp-${PV}.tar.gz \ file://noattrmode.patch;patch=1 \ + file://fixincludes.patch;patch=1 \ file://init-relay file://default-relay \ file://init-server file://default-server \ file://dhclient.conf file://dhcpd.conf" diff --git a/packages/dhcp/files/fixincludes.patch b/packages/dhcp/files/fixincludes.patch new file mode 100644 index 0000000000..91d99cce22 --- /dev/null +++ b/packages/dhcp/files/fixincludes.patch @@ -0,0 +1,10 @@ +--- dhcp-3.0.2/common/tr.c~compile 2005-10-13 14:23:37.000000000 +0200 ++++ dhcp-3.0.2/common/tr.c 2005-10-13 14:23:45.000000000 +0200 +@@ -39,6 +39,7 @@ + #include "includes/netinet/udp.h" + #include "includes/netinet/if_ether.h" + #include "netinet/if_tr.h" ++#include + #include + + /* -- cgit v1.2.3