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 /net/mtr-gtk | |
parent | 3db4887128bec9cb3645b617429001869baae364 (diff) | |
download | pkgsrc-9a4eb7067ca4bd950390b64e8a70b319fa34d94c.tar.gz |
Update from 0.51 to 0.52. Miscellaneous build and portability fixes.
Diffstat (limited to 'net/mtr-gtk')
-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 |
3 files changed, 13 insertions, 11 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; |