diff options
author | mycroft <mycroft@pkgsrc.org> | 2003-01-09 16:32:10 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 2003-01-09 16:32:10 +0000 |
commit | 9a4eb7067ca4bd950390b64e8a70b319fa34d94c (patch) | |
tree | fca7bb39d7d9a094d87b6e331f9f564fba33f220 | |
parent | 3db4887128bec9cb3645b617429001869baae364 (diff) | |
download | pkgsrc-9a4eb7067ca4bd950390b64e8a70b319fa34d94c.tar.gz |
Update from 0.51 to 0.52. Miscellaneous build and portability fixes.
-rw-r--r-- | net/mtr-gtk/Makefile | 4 | ||||
-rw-r--r-- | net/mtr-gtk/distinfo | 8 | ||||
-rw-r--r-- | net/mtr-gtk/patches/patch-ab | 12 | ||||
-rw-r--r-- | net/mtr/Makefile | 4 | ||||
-rw-r--r-- | net/mtr/distinfo | 8 | ||||
-rw-r--r-- | net/mtr/patches/patch-ab | 12 |
6 files changed, 26 insertions, 22 deletions
diff --git a/net/mtr-gtk/Makefile b/net/mtr-gtk/Makefile index 805ae443a26..7d5ff99e074 100644 --- a/net/mtr-gtk/Makefile +++ b/net/mtr-gtk/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2002/08/30 23:50:35 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2003/01/09 16:36:05 mycroft Exp $ # -DISTNAME= mtr-0.51 +DISTNAME= mtr-0.52 PKGNAME= ${DISTNAME:S/-/-gtk-/} CATEGORIES= net MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \ diff --git a/net/mtr-gtk/distinfo b/net/mtr-gtk/distinfo index 3e03a3a005a..5621ec3f210 100644 --- a/net/mtr-gtk/distinfo +++ b/net/mtr-gtk/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2002/08/30 23:50:35 wiz Exp $ +$NetBSD: distinfo,v 1.5 2003/01/09 16:36:05 mycroft Exp $ -SHA1 (mtr-0.51.tar.gz) = f13e082adbc6e94f676bd74d63c8b1b1b60b46c1 -Size (mtr-0.51.tar.gz) = 87701 bytes +SHA1 (mtr-0.52.tar.gz) = 4e5eb490b6fb0e6a9642a0c2b6f21bf78853227b +Size (mtr-0.52.tar.gz) = 88492 bytes SHA1 (patch-aa) = 7dd40b1a6e7781b309e419432e994879fe5be83e -SHA1 (patch-ab) = acd87c1b5e0d02ba4427947d30389fc196b1d0fe +SHA1 (patch-ab) = 237b5cf55180d7b12408d5688d1daae7bedc052b diff --git a/net/mtr-gtk/patches/patch-ab b/net/mtr-gtk/patches/patch-ab index bf316baf4b1..46520c42af1 100644 --- a/net/mtr-gtk/patches/patch-ab +++ b/net/mtr-gtk/patches/patch-ab @@ -1,13 +1,15 @@ -$NetBSD: patch-ab,v 1.3 2002/03/13 02:16:13 wiz Exp $ +$NetBSD: patch-ab,v 1.4 2003/01/09 16:36:06 mycroft Exp $ ---- dns.c.orig Sat Mar 4 02:46:55 2000 -+++ dns.c -@@ -751,7 +751,7 @@ +--- dns.c.orig Sat Nov 23 18:24:16 2002 ++++ dns.c Thu Jan 9 16:25:23 2003 +@@ -743,8 +743,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); ++ 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/Makefile b/net/mtr/Makefile index 3bee85fc3cc..80cfe4eaed4 100644 --- a/net/mtr/Makefile +++ b/net/mtr/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.26 2002/08/30 23:50:34 wiz Exp $ +# $NetBSD: Makefile,v 1.27 2003/01/09 16:32:10 mycroft Exp $ # -DISTNAME= mtr-0.51 +DISTNAME= mtr-0.52 CATEGORIES= net MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \ http://www.giovannelli.it/~gmarco/files/ diff --git a/net/mtr/distinfo b/net/mtr/distinfo index 066d67c29ea..0a36facf7a9 100644 --- a/net/mtr/distinfo +++ b/net/mtr/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.7 2002/08/30 23:50:34 wiz Exp $ +$NetBSD: distinfo,v 1.8 2003/01/09 16:32:11 mycroft Exp $ -SHA1 (mtr-0.51.tar.gz) = f13e082adbc6e94f676bd74d63c8b1b1b60b46c1 -Size (mtr-0.51.tar.gz) = 87701 bytes +SHA1 (mtr-0.52.tar.gz) = 4e5eb490b6fb0e6a9642a0c2b6f21bf78853227b +Size (mtr-0.52.tar.gz) = 88492 bytes SHA1 (patch-aa) = ad39c45462c65f132ad1060fb560b311bf9bad3f -SHA1 (patch-ab) = f590ed61219e246387dfa81c7f8a839efcd91663 +SHA1 (patch-ab) = 237b5cf55180d7b12408d5688d1daae7bedc052b SHA1 (patch-ad) = 53af9e506b14d58fc13a96d900859bb228d720b9 SHA1 (patch-ae) = 7826b208419fbccd1eed5e5e84826f1d2d6e7baa diff --git a/net/mtr/patches/patch-ab b/net/mtr/patches/patch-ab index 15cbc2c0201..ca0d23ab4c0 100644 --- a/net/mtr/patches/patch-ab +++ b/net/mtr/patches/patch-ab @@ -1,13 +1,15 @@ -$NetBSD: patch-ab,v 1.3 2002/03/13 02:16:12 wiz Exp $ +$NetBSD: patch-ab,v 1.4 2003/01/09 16:32:11 mycroft Exp $ ---- dns.c.orig Wed Mar 6 12:27:37 2002 -+++ dns.c -@@ -752,7 +752,7 @@ +--- dns.c.orig Sat Nov 23 18:24:16 2002 ++++ dns.c Thu Jan 9 16:25:23 2003 +@@ -743,8 +743,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); ++ r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,buf,MaxPacketsize); if (r == -1){ restell("Resolver error: Query too large."); + return; |