diff options
author | Ric Messier <kilroy@gentoo.org> | 2002-10-22 12:48:53 +0000 |
---|---|---|
committer | Ric Messier <kilroy@gentoo.org> | 2002-10-22 12:48:53 +0000 |
commit | dd977b0033721438ca14eb49c3945100e503c6b0 (patch) | |
tree | 6fd7d235fe5496271ea445ab79ebd219b97471b4 /net-analyzer/traceroute | |
parent | new version (diff) | |
download | gentoo-2-dd977b0033721438ca14eb49c3945100e503c6b0.tar.gz gentoo-2-dd977b0033721438ca14eb49c3945100e503c6b0.tar.bz2 gentoo-2-dd977b0033721438ca14eb49c3945100e503c6b0.zip |
patch for working on sparc64 with gcc3.2
Diffstat (limited to 'net-analyzer/traceroute')
-rw-r--r-- | net-analyzer/traceroute/files/traceroute-1.4a12.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net-analyzer/traceroute/files/traceroute-1.4a12.patch b/net-analyzer/traceroute/files/traceroute-1.4a12.patch new file mode 100644 index 000000000000..39a1ec2bc01e --- /dev/null +++ b/net-analyzer/traceroute/files/traceroute-1.4a12.patch @@ -0,0 +1,29 @@ +*** traceroute.c.orig Tue Oct 22 08:09:05 2002 +--- traceroute.c Tue Oct 22 08:10:48 2002 +*************** +*** 294,305 **** + u_int32_t gwlist[NGATEWAYS + 1]; + + int s; /* receive (icmp) socket file descriptor */ + int sndsock; /* send (udp/icmp) socket file descriptor */ + +! struct sockaddr whereto; /* Who to try to reach */ +! struct sockaddr wherefrom; /* Who we are */ + int packlen; /* total length of packet */ + int minpacket; /* min ip packet size */ + int maxpacket = 32 * 1024; /* max ip packet size */ + int pmtu; /* Path MTU Discovery (RFC1191) */ + u_int pausemsecs; +--- 294,305 ---- + u_int32_t gwlist[NGATEWAYS + 1]; + + int s; /* receive (icmp) socket file descriptor */ + int sndsock; /* send (udp/icmp) socket file descriptor */ + +! struct sockaddr_storage whereto; /* Who to try to reach */ +! struct sockaddr_storage wherefrom; /* Who we are */ + int packlen; /* total length of packet */ + int minpacket; /* min ip packet size */ + int maxpacket = 32 * 1024; /* max ip packet size */ + int pmtu; /* Path MTU Discovery (RFC1191) */ + u_int pausemsecs; |