head 1.13; access; symbols OPENPKG_E1_MP_HEAD:1.12 OPENPKG_E1_MP:1.12 OPENPKG_E1_MP_2_STABLE:1.12 OPENPKG_E1_FP:1.12 OPENPKG_2_STABLE_MP:1.12 OPENPKG_2_STABLE_20061018:1.12 OPENPKG_2_STABLE_20060622:1.12 OPENPKG_2_STABLE:1.12.0.2 OPENPKG_2_STABLE_BP:1.12 OPENPKG_2_5_RELEASE:1.8.6.1 OPENPKG_2_5_SOLID:1.8.0.6 OPENPKG_2_5_SOLID_BP:1.8 OPENPKG_2_4_RELEASE:1.8 OPENPKG_2_4_SOLID:1.8.0.4 OPENPKG_2_4_SOLID_BP:1.8 OPENPKG_CW_FP:1.8 OPENPKG_2_3_RELEASE:1.8 OPENPKG_2_3_SOLID:1.8.0.2 OPENPKG_2_3_SOLID_BP:1.8 OPENPKG_2_2_RELEASE:1.7 OPENPKG_2_2_SOLID:1.7.0.2 OPENPKG_2_2_SOLID_BP:1.7 OPENPKG_2_1_RELEASE:1.4 OPENPKG_2_1_SOLID:1.4.0.2 OPENPKG_2_1_SOLID_BP:1.4 OPENPKG_2_0_RELEASE:1.1 OPENPKG_2_0_SOLID:1.1.0.4 OPENPKG_2_0_SOLID_BP:1.1 OPENPKG_1_3_RELEASE:1.1.2.1 OPENPKG_1_3_SOLID:1.1.2.1.0.2 OPENPKG_1_3_SOLID_BP:1.1.2.1 OPENPKG_1_STABLE:1.1.0.2 OPENPKG_1_STABLE_MP:1.1; locks; strict; comment @# @; 1.13 date 2008.08.20.07.16.26; author rse; state Exp; branches; next 1.12; commitid GZkxjMQvDgkUPuft; 1.12 date 2006.05.01.09.46.17; author robert; state Exp; branches; next 1.11; commitid vByjVhvJ2H1kJivr; 1.11 date 2006.03.23.17.52.59; author rse; state Exp; branches; next 1.10; commitid G4o2hpOwuo52Gkqr; 1.10 date 2006.02.23.14.10.57; author rse; state Exp; branches; next 1.9; commitid ayiJcTDsMLZElImr; 1.9 date 2005.10.15.07.34.40; author rse; state Exp; branches; next 1.8; 1.8 date 2005.01.18.08.55.05; author tho; state Exp; branches 1.8.6.1; next 1.7; 1.7 date 2004.08.17.05.42.38; author rse; state Exp; branches; next 1.6; 1.6 date 2004.08.13.06.16.07; author rse; state Exp; branches; next 1.5; 1.5 date 2004.08.11.18.05.04; author rse; state Exp; branches; next 1.4; 1.4 date 2004.06.25.13.09.33; author tho; state Exp; branches; next 1.3; 1.3 date 2004.04.07.17.44.25; author rse; state Exp; branches; next 1.2; 1.2 date 2004.04.06.07.28.23; author rse; state Exp; branches; next 1.1; 1.1 date 2003.01.30.15.46.10; author mlelstv; state Exp; branches 1.1.2.1; next ; 1.8.6.1 date 2005.10.15.07.35.06; author rse; state Exp; branches; next ; 1.1.2.1 date 2003.07.24.20.50.09; author rse; state Exp; branches; next ; desc @@ 1.13 log @upgrading package: mtr 0.72 -> 0.74 @ text @Index: dns.c --- dns.c.orig 2008-08-19 19:07:33 +0200 +++ dns.c 2008-08-20 09:09:56 +0200 @@@@ -35,6 +35,11 @@@@ #define BIND_8_COMPAT #include + +#ifdef NEED_NAMESER8_COMPAT +#include +#endif + #include #include #include Index: getopt.c --- getopt.c.orig 2008-08-19 18:55:48 +0200 +++ getopt.c 2008-08-20 09:09:56 +0200 @@@@ -49,7 +49,6 @@@@ program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ -#if defined (_LIBC) || !defined (__GNU_LIBRARY__) /* This needs to come after some library #include @@@@ -691,7 +690,6 @@@@ 0); } -#endif /* _LIBC or not __GNU_LIBRARY__. */ #ifdef TEST Index: getopt1.c --- getopt1.c.orig 2008-08-19 18:55:48 +0200 +++ getopt1.c 2008-08-20 09:09:56 +0200 @@@@ -40,7 +40,6 @@@@ program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ -#if defined (_LIBC) || !defined (__GNU_LIBRARY__) /* This needs to come after some library #include @@@@ -83,7 +82,6 @@@@ } -#endif /* _LIBC or not __GNU_LIBRARY__. */ #ifdef TEST @ 1.12 log @upgrading package: mtr 0.70 -> 0.71 @ text @d2 5 a6 5 --- dns.c.orig 2006-03-23 06:45:58 +0100 +++ dns.c 2006-03-23 18:48:41 +0100 @@@@ -33,6 +33,11 @@@@ #include #include d17 2 a18 2 --- getopt.c.orig 2005-01-11 09:33:10 +0100 +++ getopt.c 2006-03-23 18:48:41 +0100 d36 2 a37 2 --- getopt1.c.orig 2004-08-26 09:56:53 +0200 +++ getopt1.c 2006-03-23 18:48:41 +0100 a53 11 --- configure.orig 2006-05-01 11:32:33 +0200 +++ configure 2006-05-01 11:33:04 +0200 @@@@ -6965,7 +6965,7 @@@@ fi -LIBS="$LIBS -lresolv" +### LIBS="$LIBS -lresolv" echo "$as_me:$LINENO: checking for herror" >&5 echo $ECHO_N "checking for herror... $ECHO_C" >&6 @ 1.11 log @upgrading package: mtr 0.69 -> 0.70 @ text @d54 11 @ 1.10 log @blindly add MacOS X (aka Darwin) support. Partially submitted by: robert j. wozny @ text @d1 15 d17 2 a18 2 --- getopt.c.orig 2005-10-15 09:31:20.000000000 +0200 +++ getopt.c 2005-10-15 09:33:02.301074518 +0200 d36 2 a37 2 --- getopt1.c.orig 2005-10-15 09:31:20.000000000 +0200 +++ getopt1.c 2005-10-15 09:32:46.232317910 +0200 a53 28 Index: net.c --- net.c.orig 2005-01-13 09:13:53.000000000 +0100 +++ net.c 2005-10-15 09:31:20.240275000 +0200 @@@@ -305,7 +305,9 @@@@ rv = sendto(sendsock, packet, abs(packetsize), 0, remotesockaddr, salen); if (rv >= 0) { +#if 0 fprintf (stderr, "You've got a broken (FreeBSD?) system\n"); +#endif BSDfix = 1; } } Index: dns.c --- dns.c.orig 2005-01-11 09:32:42 +0100 +++ dns.c 2006-02-09 18:04:13 +0100 @@@@ -33,6 +33,11 @@@@ #include #include #include + +#ifdef NEED_NAMESER8_COMPAT +#include +#endif + #include #include #include @ 1.9 log @fix building under Linux @ text @d52 15 @ 1.8 log @upgrading package: mtr 0.67 -> 0.69 @ text @d1 38 d40 3 a42 3 --- net.c.orig 2004-08-11 13:29:10 +0200 +++ net.c 2004-08-13 08:14:10 +0200 @@@@ -249,7 +249,9 @@@@ d44 1 a44 1 (struct sockaddr *)&remoteaddress, sizeof(remoteaddress)); @ 1.8.6.1 log @MFC: fix building under Linux @ text @a0 38 Index: getopt.c --- getopt.c.orig 2005-10-15 09:31:20.000000000 +0200 +++ getopt.c 2005-10-15 09:33:02.301074518 +0200 @@@@ -49,7 +49,6 @@@@ program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ -#if defined (_LIBC) || !defined (__GNU_LIBRARY__) /* This needs to come after some library #include @@@@ -691,7 +690,6 @@@@ 0); } -#endif /* _LIBC or not __GNU_LIBRARY__. */ #ifdef TEST Index: getopt1.c --- getopt1.c.orig 2005-10-15 09:31:20.000000000 +0200 +++ getopt1.c 2005-10-15 09:32:46.232317910 +0200 @@@@ -40,7 +40,6 @@@@ program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ -#if defined (_LIBC) || !defined (__GNU_LIBRARY__) /* This needs to come after some library #include @@@@ -83,7 +82,6 @@@@ } -#endif /* _LIBC or not __GNU_LIBRARY__. */ #ifdef TEST d2 3 a4 3 --- net.c.orig 2005-01-13 09:13:53.000000000 +0100 +++ net.c 2005-10-15 09:31:20.240275000 +0200 @@@@ -305,7 +305,9 @@@@ d6 1 a6 1 remotesockaddr, salen); @ 1.7 log @upgrading package: mtr 0.63 -> 0.64 @ text @a13 11 Index: raw.c --- raw.c.orig 2004-04-07 11:47:29 +0200 +++ raw.c 2004-08-13 08:14:10 +0200 @@@@ -22,6 +22,7 @@@@ #include #include #include +#include #include #include #include @ 1.6 log @upgrading package: mtr 0.61 -> 0.62 @ text @a0 11 Index: curses.c --- curses.c.orig 2004-08-11 13:25:25 +0200 +++ curses.c 2004-08-13 08:14:10 +0200 @@@@ -23,6 +23,7 @@@@ #include #include #include +#include #include #include #include @ 1.5 log @upgrading package: mtr 0.60 -> 0.61 @ text @d1 11 d13 3 a15 3 --- net.c.orig 2004-04-01 17:54:00.000000000 +0200 +++ net.c 2004-04-06 09:25:25.000000000 +0200 @@@@ -240,7 +240,9 @@@@ d26 2 a27 2 --- raw.c.orig 2004-04-05 13:57:17.000000000 +0200 +++ raw.c 2004-04-06 09:26:34.000000000 +0200 a35 27 Index: mtr.c --- mtr.c.orig 2004-04-01 15:33:27.000000000 +0200 +++ mtr.c 2004-06-25 14:58:34.682013000 +0200 @@@@ -348,7 +348,11 @@@@ #endif if (host == NULL) { - host = gethostbyname2(Hostname, af); +#if (defined(__sun) && defined(__SVR4)) + host = gethostbyname(Hostname); +#else + host = gethostbyname2(Hostname, af); +#endif } if(host == NULL) { Index: curses.c --- curses.c.orig 2004-08-11 13:25:25 +0200 +++ curses.c 2004-08-11 20:04:04 +0200 @@@@ -23,6 +23,7 @@@@ #include #include #include +#include #include #include #include @ 1.4 log @Solaris has no gethostbyname2 @ text @d41 11 @ 1.3 log @upgrading package: mtr 0.56 -> 0.58 @ text @d25 16 @ 1.2 log @upgrading package: mtr 0.55 -> 0.56 @ text @a0 14 Index: dns.c --- dns.c.orig 2004-04-05 13:58:22.000000000 +0200 +++ dns.c 2004-04-06 09:25:25.000000000 +0200 @@@@ -744,8 +744,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; @ 1.1 log @include BSD fixes from NetBSD-pkgsrc and require gtk @ text @d1 4 a4 17 --- net.c.orig Wed Mar 6 12:27:37 2002 +++ net.c @@@@ -219,7 +219,9 @@@@ rv = sendto(sendsock, packet, packetsize, 0, (struct sockaddr *)&remoteaddress, sizeof(remoteaddress)); if (rv >= 0) { +#if 0 fprintf (stderr, "You've got a broken (FreeBSD?) system\n"); +#endif BSDfix = 1; } } --- dns.c.orig Sat Nov 23 18:24:16 2002 +++ dns.c Thu Jan 9 16:25:23 2003 @@@@ -743,8 +743,8 @@@@ d15 24 @ 1.1.2.1 log @mass Merge-From-CURRENT (MFC) in preparation for OpenPKG 1.3 [class PLUS only] @ text @@