summaryrefslogtreecommitdiff
path: root/net/tcptrace
diff options
context:
space:
mode:
Diffstat (limited to 'net/tcptrace')
-rw-r--r--net/tcptrace/distinfo4
-rw-r--r--net/tcptrace/patches/patch-ab16
-rw-r--r--net/tcptrace/patches/patch-ac24
3 files changed, 43 insertions, 1 deletions
diff --git a/net/tcptrace/distinfo b/net/tcptrace/distinfo
index e0904f50c54..08ed25b6922 100644
--- a/net/tcptrace/distinfo
+++ b/net/tcptrace/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 11:23:36 wiz Exp $
+$NetBSD: distinfo,v 1.3 2003/01/12 21:07:44 tron Exp $
SHA1 (tcptrace.5.2.1.tar.gz) = 838f81a2f5537631c16af6ca49b69863f43d2bd3
Size (tcptrace.5.2.1.tar.gz) = 1178005 bytes
SHA1 (patch-aa) = b338e2dada6cb3b1fee66d8d28b909cc5e6858fc
+SHA1 (patch-ab) = 39483cb6be4bde804f62c5b437aaafa29af05fca
+SHA1 (patch-ac) = 5caa809ef1accda51ee1d5275f18181fc9beba1e
diff --git a/net/tcptrace/patches/patch-ab b/net/tcptrace/patches/patch-ab
new file mode 100644
index 00000000000..01fff35537a
--- /dev/null
+++ b/net/tcptrace/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.3 2003/01/12 21:07:45 tron Exp $
+
+--- tcptrace.h.orig Thu Aug 12 19:33:10 1999
++++ tcptrace.h Sun Jan 12 22:03:30 2003
+@@ -484,10 +484,7 @@
+
+
+ /* external routine decls */
+-double sqrt(double x);
+-char *ether_ntoa(struct ether_addr *e);
+-void free(void *);
+-int finite(double);
++char *my_ether_ntoa(struct ether_addr *e);
+
+
+ /* global routine decls */
diff --git a/net/tcptrace/patches/patch-ac b/net/tcptrace/patches/patch-ac
new file mode 100644
index 00000000000..67684572179
--- /dev/null
+++ b/net/tcptrace/patches/patch-ac
@@ -0,0 +1,24 @@
+$NetBSD: patch-ac,v 1.3 2003/01/12 21:07:45 tron Exp $
+
+--- print.c.orig Wed Sep 8 00:40:15 1999
++++ print.c Sun Jan 12 22:05:19 2003
+@@ -110,8 +110,8 @@
+ printeth_packet(
+ struct ether_header *pep)
+ {
+- printf("\tETH Srce: %s\n", ether_ntoa((struct ether_addr *)&pep->ether_shost));
+- printf("\tETH Dest: %s\n", ether_ntoa((struct ether_addr *)&pep->ether_dhost));
++ printf("\tETH Srce: %s\n", my_ether_ntoa((struct ether_addr *)&pep->ether_shost));
++ printf("\tETH Dest: %s\n", my_ether_ntoa((struct ether_addr *)&pep->ether_dhost));
+
+ printf(
+ hex?"\t Type: 0x%x %s\n":"\t Type: %d %s\n",
+@@ -708,7 +708,7 @@
+ /* and it messes up my cross-platform testing. I'll just do it the */
+ /* "one true" way! :-) */
+ char *
+-ether_ntoa (struct ether_addr *e)
++my_ether_ntoa (struct ether_addr *e)
+ {
+ unsigned char *pe;
+ static char buf[30];