From 95bb97aeb652bfe9fdd775ebda6036dc9d6770f0 Mon Sep 17 00:00:00 2001 From: Qing He Date: Wed, 14 Jul 2010 22:09:26 +0800 Subject: dhcp: upgrade to 4.1.1-P1 from version 4.1.0 changes: original .bb file is based on dhcp3, whose build system differs from dhcp 4.x, add a new dhcp4.inc and preserve dhcp3.inc for reference, this should fix the conf file location bug of dhclient/dhcpd 4.1.0 - defining _PATH_DHC{LIENT,PD}_CONF in make parameter no longer works, put these definition to includes/site.h - delete upstream version of conf files, which are not used, and with an installation path hardcoded to ${sysconfdir} - similar thing happen for leases file, use new configure option to specify - RANLIB, LIBDIR, etc. as make parameter are no longer necessary Signed-off-by: Qing He --- meta/packages/dhcp/dhcp-4.1.1-P1/noattrmode.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta/packages/dhcp/dhcp-4.1.1-P1/noattrmode.patch (limited to 'meta/packages/dhcp/dhcp-4.1.1-P1/noattrmode.patch') diff --git a/meta/packages/dhcp/dhcp-4.1.1-P1/noattrmode.patch b/meta/packages/dhcp/dhcp-4.1.1-P1/noattrmode.patch new file mode 100644 index 000000000..5c766d6c0 --- /dev/null +++ b/meta/packages/dhcp/dhcp-4.1.1-P1/noattrmode.patch @@ -0,0 +1,20 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- dhcp-3.0.1/includes/dhcpd.h~compile ++++ dhcp-3.0.1/includes/dhcpd.h +@@ -306,9 +306,9 @@ + # define EPHEMERAL_FLAGS (MS_NULL_TERMINATION | \ + UNICAST_BROADCAST_HACK) + +- binding_state_t __attribute__ ((mode (__byte__))) binding_state; +- binding_state_t __attribute__ ((mode (__byte__))) next_binding_state; +- binding_state_t __attribute__ ((mode (__byte__))) desired_binding_state; ++ binding_state_t binding_state; ++ binding_state_t next_binding_state; ++ binding_state_t desired_binding_state; + + struct lease_state *state; + -- cgit v1.2.3