From 53a36dd56428cc31e0b9aec400574a377a8f8651 Mon Sep 17 00:00:00 2001 From: Ric Messier Date: Tue, 22 Oct 2002 12:48:53 +0000 Subject: [PATCH] patch for working on sparc64 with gcc3.2 --- .../traceroute/files/traceroute-1.4a12.patch | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 net-analyzer/traceroute/files/traceroute-1.4a12.patch 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; -- 2.26.2