summaryrefslogtreecommitdiff
path: root/recipes/dhcp/files/noattrmode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dhcp/files/noattrmode.patch')
-rw-r--r--recipes/dhcp/files/noattrmode.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/dhcp/files/noattrmode.patch b/recipes/dhcp/files/noattrmode.patch
new file mode 100644
index 0000000000..5c766d6c06
--- /dev/null
+++ b/recipes/dhcp/files/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;
+