summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-11-10 07:24:38 +0000
committerTravis Tilley <lv@gentoo.org>2004-11-10 07:24:38 +0000
commit82a7a76714a714c3514ce3bcd3e13c267577d562 (patch)
tree5119bbbcb909c76de558d6751564969be34d60be /net-misc/dhcp/files
parentinitial commit of an experimental uclibc-hardened profile (diff)
downloadgentoo-2-82a7a76714a714c3514ce3bcd3e13c267577d562.tar.gz
gentoo-2-82a7a76714a714c3514ce3bcd3e13c267577d562.tar.bz2
gentoo-2-82a7a76714a714c3514ce3bcd3e13c267577d562.zip
fixed some invalid attributes in includes/dhcpd.h so that dhcp compiles using gcc 3.4 again. closes bug 69555
Diffstat (limited to 'net-misc/dhcp/files')
-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;
+