summaryrefslogtreecommitdiff
path: root/net/mtr-gtk/patches
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2003-01-09 16:32:10 +0000
committermycroft <mycroft@pkgsrc.org>2003-01-09 16:32:10 +0000
commit9a4eb7067ca4bd950390b64e8a70b319fa34d94c (patch)
treefca7bb39d7d9a094d87b6e331f9f564fba33f220 /net/mtr-gtk/patches
parent3db4887128bec9cb3645b617429001869baae364 (diff)
downloadpkgsrc-9a4eb7067ca4bd950390b64e8a70b319fa34d94c.tar.gz
Update from 0.51 to 0.52. Miscellaneous build and portability fixes.
Diffstat (limited to 'net/mtr-gtk/patches')
-rw-r--r--net/mtr-gtk/patches/patch-ab12
1 files changed, 7 insertions, 5 deletions
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;