dhcp: added patch to fix build problem - close bug #400
authorMarcin Juszkiewicz <hrw@openembedded.org>
Sun, 16 Oct 2005 17:06:33 +0000 (17:06 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 16 Oct 2005 17:06:33 +0000 (17:06 +0000)
- patch add <asm/types.h> into tr.c
- resolution provided by Stefan Sander <stefan-sander@gmx.de>

packages/dhcp/dhcp_3.0.1.bb
packages/dhcp/dhcp_3.0.2.bb
packages/dhcp/files/fixincludes.patch [new file with mode: 0644]

index c734af1..5241fc6 100644 (file)
@@ -3,9 +3,10 @@ DESCRIPTION = "Internet Software Consortium DHCP package"
 HOMEPAGE = "http://www.isc.org/"
 MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
 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"
index c734af1..5241fc6 100644 (file)
@@ -3,9 +3,10 @@ DESCRIPTION = "Internet Software Consortium DHCP package"
 HOMEPAGE = "http://www.isc.org/"
 MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
 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 (file)
index 0000000..91d99cc
--- /dev/null
@@ -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 <asm/types.h>
+ #include <sys/time.h>
+ /*