diff options
author | Travis Tilley <lv@gentoo.org> | 2004-10-07 00:47:06 +0000 |
---|---|---|
committer | Travis Tilley <lv@gentoo.org> | 2004-10-07 00:47:06 +0000 |
commit | 671871de9bf0323450025c474dbed2e6d8bf766b (patch) | |
tree | 38db702d38f8644e418c4c067e4fc9b693cc375b /net-misc/iputils/files | |
parent | Stable on alpha, bug 66501. (Manifest recommit) (diff) | |
download | gentoo-2-671871de9bf0323450025c474dbed2e6d8bf766b.tar.gz gentoo-2-671871de9bf0323450025c474dbed2e6d8bf766b.tar.bz2 gentoo-2-671871de9bf0323450025c474dbed2e6d8bf766b.zip |
fix compiling iputils using newer glibc snapshots
Diffstat (limited to 'net-misc/iputils/files')
-rw-r--r-- | net-misc/iputils/files/iputils-021109-linux-udp-header.patch | 15 |
1 files changed, 15 insertions, 0 deletions
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 index 000000000000..b60a23534dd9 --- /dev/null +++ b/net-misc/iputils/files/iputils-021109-linux-udp-header.patch @@ -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> |