fixed some invalid attributes in includes/dhcpd.h so that dhcp compiles using gcc...
authorTravis Tilley <lv@gentoo.org>
Wed, 10 Nov 2004 07:24:38 +0000 (07:24 +0000)
committerTravis Tilley <lv@gentoo.org>
Wed, 10 Nov 2004 07:24:38 +0000 (07:24 +0000)
net-misc/dhcp/ChangeLog
net-misc/dhcp/Manifest
net-misc/dhcp/dhcp-3.0.1.ebuild
net-misc/dhcp/files/dhcp-3.0.1-fix-invalid-attribute.patch [new file with mode: 0644]

index 01e56dfac6653cfbe3727630e0c1afd2a0ef069f..e7f053d30ceaac593f70f125498ae076b6c02b98 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-misc/dhcp
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/ChangeLog,v 1.45 2004/10/17 12:42:14 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/ChangeLog,v 1.46 2004/11/10 07:24:38 lv Exp $
+
+  10 Nov 2004; Travis Tilley <lv@gentoo.org>
+  +files/dhcp-3.0.1-fix-invalid-attribute.patch, dhcp-3.0.1.ebuild:
+  fixed some invalid attributes in includes/dhcpd.h so that dhcp compiles
+  using gcc 3.4 again. closes bug 69555
 
   17 Oct 2004; Dylan Carlson <absinthe@gentoo.org> dhcp-3.0.1.ebuild:
   keywords ~amd64.
index efa0fb72ee548ab8cbbc3bec660a1ce1605df5dc..bc8fdb69f4a1047881d8cb4acce478aa429df738 100644 (file)
@@ -1,21 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 82dc460a1bd400681e03fe80a7bcb00f ChangeLog 7375
-MD5 fc6fd08c31e500eab4e03de058c3d904 dhcp-3.0.1.ebuild 3930
+MD5 37dfb44d785e2277fd5a8859a311c424 ChangeLog 7597
 MD5 9384ae7ba3e9f56b8027ea92f607042d metadata.xml 215
+MD5 7d50e4a39640d74b9a0bedf1c5b57705 dhcp-3.0.1.ebuild 3986
 MD5 a4fc0a5a40c8ec22f3301945fc744516 files/conf.dhcpd 381
+MD5 66becf9870e0293bbd35d1fba770751a files/dhcp-3.0+paranoia.patch 5366
+MD5 d909d81a4d4ea39ddfc9898d33488c73 files/dhcp-3.0pl2-fix-perms.patch 485
 MD5 0203f009ee3427c47c6962c1352e3de4 files/dhcp.conf 634
 MD5 6fac614e84b5c2856503f0a62d10c1fa files/dhcp.rc6 1100
-MD5 7f1859e6517a23f87c8e83c68a15a537 files/digest-dhcp-3.0.1 62
-MD5 d909d81a4d4ea39ddfc9898d33488c73 files/dhcp-3.0pl2-fix-perms.patch 485
 MD5 1a902e3332707119032d7bc229b91001 files/dhcrelay.conf 505
 MD5 c2433edf6a800843b0d55c9086de1252 files/dhcrelay.rc6 564
-MD5 66becf9870e0293bbd35d1fba770751a files/dhcp-3.0+paranoia.patch 5366
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBiaaMHTu7gpaalycRAvH2AKDuLQu5+nrd3KAPU760AWOSjnEM7ACgtN4D
-lAPg0cyNDyDDmRkGq7AhRhI=
-=Yf9B
------END PGP SIGNATURE-----
+MD5 7f1859e6517a23f87c8e83c68a15a537 files/digest-dhcp-3.0.1 62
+MD5 ca45269300d74a3a8750e0e64e8d92ea files/dhcp-3.0.1-fix-invalid-attribute.patch 583
index f633c6276440a30e710e909eab14a8ff50694394..b891034b12b026243fa3f91caf2779a6c8383025 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0.1.ebuild,v 1.9 2004/11/04 03:47:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0.1.ebuild,v 1.10 2004/11/10 07:24:38 lv Exp $
 
 inherit eutils flag-o-matic toolchain-funcs
 
@@ -24,6 +24,7 @@ src_unpack() {
        cd ${S}
        epatch ${FILESDIR}/dhcp-3.0+paranoia.patch
        epatch ${FILESDIR}/dhcp-3.0pl2-fix-perms.patch
+       epatch ${FILESDIR}/dhcp-3.0.1-fix-invalid-attribute.patch
        has noman ${FEATURES} && sed -i 's:nroff:echo:' */Makefile.dist
 }
 
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 (file)
index 0000000..20efa53
--- /dev/null
@@ -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;
+