patch for working on sparc64 with gcc3.2
authorRic Messier <kilroy@gentoo.org>
Tue, 22 Oct 2002 12:48:53 +0000 (12:48 +0000)
committerRic Messier <kilroy@gentoo.org>
Tue, 22 Oct 2002 12:48:53 +0000 (12:48 +0000)
net-analyzer/traceroute/files/traceroute-1.4a12.patch [new file with mode: 0644]

diff --git a/net-analyzer/traceroute/files/traceroute-1.4a12.patch b/net-analyzer/traceroute/files/traceroute-1.4a12.patch
new file mode 100644 (file)
index 0000000..39a1ec2
--- /dev/null
@@ -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;