summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/dhcp/files/dhcp-3.0.1-fix-invalid-attribute.patch')
-rw-r--r--net-misc/dhcp/files/dhcp-3.0.1-fix-invalid-attribute.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-misc/dhcp/files/dhcp-3.0.1-fix-invalid-attribute.patch b/net-misc/dhcp/files/dhcp-3.0.1-fix-invalid-attribute.patch
new file mode 100644
index 000000000000..20efa532620a
--- /dev/null
+++ b/net-misc/dhcp/files/dhcp-3.0.1-fix-invalid-attribute.patch
@@ -0,0 +1,15 @@
+--- includes/dhcpd.h.old 2004-11-10 02:18:44.201012888 -0500
++++ includes/dhcpd.h 2004-11-10 02:19:11.411876208 -0500
+@@ -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;
+