diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-10-29 22:31:02 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-10-29 22:31:02 +0000 |
commit | cfe573c314f6c27095853c7d5e5f8676b769ba62 (patch) | |
tree | 9409520389722e6143eabef79b3b88ba84efeaac /net/mtr/files | |
parent | b0823ae396a7b32354b085a7fe82dc7fd7a0beaf (diff) |
Notes
Diffstat (limited to 'net/mtr/files')
-rw-r--r-- | net/mtr/files/patch-01 | 20 | ||||
-rw-r--r-- | net/mtr/files/patch-02 | 13 | ||||
-rw-r--r-- | net/mtr/files/patch-03 | 11 | ||||
-rw-r--r-- | net/mtr/files/patch-06 | 10 | ||||
-rw-r--r-- | net/mtr/files/patch-07 | 10 | ||||
-rw-r--r-- | net/mtr/files/patch-net.c | 10 |
6 files changed, 10 insertions, 64 deletions
diff --git a/net/mtr/files/patch-01 b/net/mtr/files/patch-01 deleted file mode 100644 index 651add54d7a8..000000000000 --- a/net/mtr/files/patch-01 +++ /dev/null @@ -1,20 +0,0 @@ ---- net.c.orig Mon Mar 29 20:18:08 2004 -+++ net.c Mon Mar 29 20:18:34 2004 -@@ -178,7 +178,7 @@ - } - - --static int BSDfix = 0; -+static int BSDfix = 1; - - int new_sequence(int index) { - static int next_sequence = 0; -@@ -261,7 +261,7 @@ - #endif - ); - if (rv >= 0) { -- fprintf (stderr, "You've got a broken (FreeBSD?) system\n"); -+/* fprintf (stderr, "You've got a broken (FreeBSD?) system\n"); */ - BSDfix = 1; - } - } diff --git a/net/mtr/files/patch-02 b/net/mtr/files/patch-02 deleted file mode 100644 index afb1b7d51285..000000000000 --- a/net/mtr/files/patch-02 +++ /dev/null @@ -1,13 +0,0 @@ ---- dns.c.orig Sun Feb 9 17:40:31 2003 -+++ dns.c Sun Feb 9 17:41:03 2003 -@@ -835,8 +835,8 @@ - void dorequest(char *s,int type,word id){ - packetheader *hp; - int r,i; -- int buf[(MaxPacketsize/sizeof (int))+1]; -- r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,(unsigned char*)buf,MaxPacketsize); -+ unsigned char buf[MaxPacketsize]; -+ r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,buf,MaxPacketsize); - if (r == -1){ - restell("Resolver error: Query too large."); - return; diff --git a/net/mtr/files/patch-03 b/net/mtr/files/patch-03 deleted file mode 100644 index 58efa5fde677..000000000000 --- a/net/mtr/files/patch-03 +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.old Wed Oct 27 16:49:03 1999 -+++ Makefile.in Wed Oct 27 16:49:22 1999 -@@ -210,7 +210,7 @@ - - mtr: $(mtr_OBJECTS) $(mtr_DEPENDENCIES) - @rm -f mtr -- $(LINK) $(mtr_LDFLAGS) $(mtr_OBJECTS) $(mtr_LDADD) $(LIBS) -+ $(LINK) $(mtr_LDFLAGS) $(mtr_OBJECTS) $(mtr_LDADD) -lmytinfo $(LIBS) - - install-man8: - $(mkinstalldirs) $(DESTDIR)$(man8dir) diff --git a/net/mtr/files/patch-06 b/net/mtr/files/patch-06 deleted file mode 100644 index 5ee69cdacd15..000000000000 --- a/net/mtr/files/patch-06 +++ /dev/null @@ -1,10 +0,0 @@ ---- mtr.c.orig Sun Feb 9 17:37:45 2003 -+++ mtr.c Sun Feb 9 17:38:18 2003 -@@ -25,6 +25,7 @@ - #include <string.h> - #include <netinet/in.h> - #include <sys/socket.h> -+#include <arpa/inet.h> - #include <unistd.h> - - #include "mtr-curses.h" diff --git a/net/mtr/files/patch-07 b/net/mtr/files/patch-07 deleted file mode 100644 index 9f791efee54f..000000000000 --- a/net/mtr/files/patch-07 +++ /dev/null @@ -1,10 +0,0 @@ ---- select.c.orig Sun Feb 9 17:42:32 2003 -+++ select.c Sun Feb 9 17:43:04 2003 -@@ -25,6 +25,7 @@ - #include <unistd.h> - #include <time.h> - #include <sys/select.h> -+#include <sys/socket.h> - #include <string.h> - #include <math.h> - #include <errno.h> diff --git a/net/mtr/files/patch-net.c b/net/mtr/files/patch-net.c new file mode 100644 index 000000000000..8f80e6130d7b --- /dev/null +++ b/net/mtr/files/patch-net.c @@ -0,0 +1,10 @@ +--- net.c.orig Wed Aug 25 09:21:27 2004 ++++ net.c Tue Oct 26 12:46:58 2004 +@@ -249,7 +249,6 @@ + rv = sendto(sendsock, packet, abs(packetsize), 0, + (struct sockaddr *)&remoteaddress, sizeof(remoteaddress)); + if (rv >= 0) { +- fprintf (stderr, "You've got a broken (FreeBSD?) system\n"); + BSDfix = 1; + } + } |