summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcp/dhcp-4.2.5/noattrmode.patch
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-01-23 13:26:11 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-28 12:29:32 +0000
commit98a54331e184411dfd9e3f6822a202aa7369f2fd (patch)
tree80d35c94ac5da2f4c56fc20820479bf815d8a26a /meta/recipes-connectivity/dhcp/dhcp-4.2.5/noattrmode.patch
parent7fed40399c232385e562a3b367dd7e5a1bfaf79b (diff)
downloadpoky-98a54331e184411dfd9e3f6822a202aa7369f2fd.tar.gz
dhcp: Update to 4.2.5
(From OE-Core rev: fb1a7cf8ac1b5ab8047f47ace28775685ba28804) 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.5/noattrmode.patch')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp-4.2.5/noattrmode.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.5/noattrmode.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.5/noattrmode.patch
new file mode 100644
index 0000000000..5c635e8dcb
--- /dev/null
+++ b/meta/recipes-connectivity/dhcp/dhcp-4.2.5/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