summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/noattrmode.patch
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-11-16 11:52:34 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-21 16:55:59 +0000
commit3f42e207422254af24b09f35df38244ed3fd08be (patch)
tree9daec0549eb2090f2a328bccde2bfac648dadade /meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/noattrmode.patch
parentc6ea431eaec38633c9be375e64482f396d1c2fe3 (diff)
downloadpoky-3f42e207422254af24b09f35df38244ed3fd08be.tar.gz
dhcp: Update to 4.2.4-P2
(From OE-Core rev: f3ca792a470437cb7fc91ca10f220a48da23d6f5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/noattrmode.patch')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/noattrmode.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/noattrmode.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/noattrmode.patch
new file mode 100644
index 0000000000..5c635e8dcb
--- /dev/null
+++ b/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P2/noattrmode.patch
@@ -0,0 +1,21 @@
1Upstream-Status: Backport
2
3#
4# Patch managed by http://www.holgerschurig.de/patcher.html
5#
6
7--- dhcp-3.0.1/includes/dhcpd.h~compile
8+++ dhcp-3.0.1/includes/dhcpd.h
9@@ -306,9 +306,9 @@
10 # define EPHEMERAL_FLAGS (MS_NULL_TERMINATION | \
11 UNICAST_BROADCAST_HACK)
12
13- binding_state_t __attribute__ ((mode (__byte__))) binding_state;
14- binding_state_t __attribute__ ((mode (__byte__))) next_binding_state;
15- binding_state_t __attribute__ ((mode (__byte__))) desired_binding_state;
16+ binding_state_t binding_state;
17+ binding_state_t next_binding_state;
18+ binding_state_t desired_binding_state;
19
20 struct lease_state *state;
21