fix compiling iputils using newer glibc snapshots
authorTravis Tilley <lv@gentoo.org>
Thu, 7 Oct 2004 00:47:06 +0000 (00:47 +0000)
committerTravis Tilley <lv@gentoo.org>
Thu, 7 Oct 2004 00:47:06 +0000 (00:47 +0000)
net-misc/iputils/ChangeLog
net-misc/iputils/Manifest
net-misc/iputils/files/iputils-021109-linux-udp-header.patch [new file with mode: 0644]
net-misc/iputils/iputils-021109-r3.ebuild

index 671a6645cc7df154b92d9f66c77004f3928dd09a..6f5e2b2e5d290e67d0ae19d4f0f22def94d571fb 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for net-misc/iputils
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/ChangeLog,v 1.32 2004/08/04 18:51:46 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/ChangeLog,v 1.33 2004/10/07 00:47:06 lv Exp $
+
+  06 Oct 2004; Travis Tilley <lv@gentoo.org>
+  +files/iputils-021109-linux-udp-header.patch, iputils-021109-r3.ebuild:
+  fix compiling iputils using newer glibc snapshots
 
   04 Aug 2004; Jon Portnoy <avenj@gentoo.org> iputils-021109-r3.ebuild :
   Fix bison sed line. Bugs 59414 and 59191.
index 35532882cde7b9774753e4af8d1c8e563a6c8697..924b2662c5ce5094196ccba8016b8a48f493e873 100644 (file)
@@ -1,10 +1,11 @@
-MD5 42f9741b0c230f618b8de6461a56e832 ChangeLog 4713
+MD5 a8cf19231cceaf80487680b01b7ad304 ChangeLog 4882
 MD5 c6c85d3ec6fc1a2446f71745893dd476 iputils-020927.ebuild 1387
-MD5 95a99b31ad110e1e9228fad9e4d48f59 iputils-021109-r3.ebuild 2556
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 8750ebad61ffb95e7d2f951b4e6834af iputils-021109-r3.ebuild 2650
 MD5 2baac2d4f1c8f01957aaaf6b6349c203 files/021109-gcc34.patch 347
 MD5 c11c8762616b29e6d556a147aaa9374a files/021109-no-pfkey-search.patch 307
 MD5 d6d6f3cb8ff77c826d432ed7eb394c43 files/digest-iputils-020927 68
 MD5 66a524e27160410a2dbaef8d2eed5365 files/digest-iputils-021109-r3 73
 MD5 0a62fdeb93c761e5407fd3e185308a99 files/iputils-021109-pfkey.patch 3477
 MD5 b4615612d4514f12b35fbaf27d3e04fe files/iputils-20020927-no-ether_ntohost.patch 635
+MD5 79de65b9da536090d0560ba51520fd9d files/iputils-021109-linux-udp-header.patch 418
diff --git a/net-misc/iputils/files/iputils-021109-linux-udp-header.patch b/net-misc/iputils/files/iputils-021109-linux-udp-header.patch
new file mode 100644 (file)
index 0000000..b60a235
--- /dev/null
@@ -0,0 +1,15 @@
+diff -Nru iputils.old/traceroute6.c iputils/traceroute6.c
+--- iputils.old/traceroute6.c  2004-09-29 21:10:48.540700488 -0400
++++ iputils/traceroute6.c      2004-09-29 21:11:58.667039664 -0400
+@@ -244,7 +244,11 @@
+ #include <netinet/in.h>
+ #include <netinet/ip.h>
+ #include <netinet/ip_icmp.h>
++#if __linux__
++#include <linux/udp.h>
++#else
+ #include <netinet/udp.h>
++#endif
+ 
+ #include <linux/ipv6.h>
+ #include <linux/in6.h>
index 49302aabe016e5a84bf4336bc0b527b0e308fe64..ec8d82963fc79c829ec554ba5f794826379c817c 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/iputils/iputils-021109-r3.ebuild,v 1.10 2004/08/09 04:34:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/iputils-021109-r3.ebuild,v 1.11 2004/10/07 00:47:06 lv Exp $
 
 inherit flag-o-matic gcc gnuconfig eutils
 
@@ -38,6 +38,10 @@ src_unpack() {
 
        epatch ${FILESDIR}/${PV}-gcc34.patch
        epatch ${FILESDIR}/${PV}-no-pfkey-search.patch
+
+       # make iputils work with newer glibc snapshots
+       epatch ${FILESDIR}/${P}-linux-udp-header.patch
+
        sed -i \
                -e "/^CCOPT=/s:-O2:${CFLAGS}:" \
                -e "/^CC=/s:gcc:$(gcc-getCC):" \