diff options
author | Qing He <qing.he@intel.com> | 2010-07-14 22:09:26 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-23 23:53:30 +0100 |
commit | 95bb97aeb652bfe9fdd775ebda6036dc9d6770f0 (patch) | |
tree | 173a18250ca42b9d4614d531fb9bf5794f2b7c6f /meta/packages/dhcp/dhcp-4.1.1-P1/noattrmode.patch | |
parent | 00a42b73b62b602f96afe23b015c6e07098b9926 (diff) | |
download | openembedded-core-95bb97aeb652bfe9fdd775ebda6036dc9d6770f0.tar.gz openembedded-core-95bb97aeb652bfe9fdd775ebda6036dc9d6770f0.tar.bz2 openembedded-core-95bb97aeb652bfe9fdd775ebda6036dc9d6770f0.tar.xz openembedded-core-95bb97aeb652bfe9fdd775ebda6036dc9d6770f0.zip |
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 <qing.he@intel.com>
Diffstat (limited to 'meta/packages/dhcp/dhcp-4.1.1-P1/noattrmode.patch')
-rw-r--r-- | meta/packages/dhcp/dhcp-4.1.1-P1/noattrmode.patch | 20 |
1 files changed, 20 insertions, 0 deletions
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; + |