diff --git a/net/bing/Makefile b/net/bing/Makefile index ed77e4f7c52..4ec682b0774 100644 --- a/net/bing/Makefile +++ b/net/bing/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.24 2010/10/18 18:36:45 espie Exp $ +# $OpenBSD: Makefile,v 1.25 2012/08/06 17:35:34 naddy Exp $ COMMENT= point-to-point bandwidth measurement tool DISTNAME= bing-1.0.5 -REVISION= 2 +REVISION= 3 CATEGORIES= net MASTER_SITES= ftp://ftp.ens.fr/pub/unix/syst/ @@ -13,9 +13,8 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= c +WANTLIB= c -USE_GROFF = Yes NO_REGRESS= Yes post-install: diff --git a/net/bing/patches/patch-bing_c b/net/bing/patches/patch-bing_c index c72871a08ca..957a8e1c692 100644 --- a/net/bing/patches/patch-bing_c +++ b/net/bing/patches/patch-bing_c @@ -1,14 +1,14 @@ -$OpenBSD: patch-bing_c,v 1.3 2010/02/23 21:35:37 sthen Exp $ ---- bing.c.orig Fri Jan 19 13:28:53 2001 -+++ bing.c Thu Feb 18 12:35:25 2010 -@@ -162,6 +162,7 @@ static char rcsid[] = "$Id: bing.c,v 1.16.2.1 2001/01/ - - #include - #include -+#include - #include - #include - #ifndef linux +$OpenBSD: patch-bing_c,v 1.4 2012/08/06 17:35:34 naddy Exp $ +--- bing.c.orig Fri Jan 19 19:28:53 2001 ++++ bing.c Mon Aug 6 19:33:05 2012 +@@ -170,6 +170,7 @@ static char rcsid[] = "$Id: bing.c,v 1.16.2.1 2001/01/ + #include + #include + #include ++#include + #include + #include + #include @@ -755,7 +756,7 @@ int pr_pack(buf, cc, from) static int old_rrlen; static char old_rr[MAX_IPOPTLEN]; @@ -39,7 +39,8 @@ $OpenBSD: patch-bing_c,v 1.3 2010/02/23 21:35:37 sthen Exp $ - int ch, hold, recv_packlen, preload; + int ch, hold = 1, recv_packlen, preload; u_char *datap, *recv_packet; - char *target1, *target2, *malloc(); +- char *target1, *target2, *malloc(); ++ char *target1, *target2; u_char ttl, loop; #ifdef IP_OPTIONS char rspace[3 + 4 * NROUTES + 1]; /* record route space */