From b4989ead230ab8a6b3c5fac2af3380f16ccfb11b Mon Sep 17 00:00:00 2001 From: abs Date: Thu, 4 Sep 2003 12:47:37 +0000 Subject: Update fping and fping6 to 2.4b2nb1. Add !defined(__NetBSD__) to a broken __alpha__ test. --- net/fping/Makefile | 3 ++- net/fping/distinfo | 3 ++- net/fping/patches/patch-aa | 17 +++++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 net/fping/patches/patch-aa (limited to 'net/fping') diff --git a/net/fping/Makefile b/net/fping/Makefile index 819ba30542e..8d18cee611a 100644 --- a/net/fping/Makefile +++ b/net/fping/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.8 2003/07/17 22:51:10 grant Exp $ +# $NetBSD: Makefile,v 1.9 2003/09/04 12:47:37 abs Exp $ # FreeBSD Id: ports/net/fping/Makefile,v 1.10 2000/04/20 20:18:57 mharo Exp DISTNAME= fping-2.4b2_to PKGNAME= fping-2.4b2 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.fping.com/download/ diff --git a/net/fping/distinfo b/net/fping/distinfo index b638f1f36e4..bc3eb43367a 100644 --- a/net/fping/distinfo +++ b/net/fping/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.5 2003/03/24 16:42:56 bouyer Exp $ +$NetBSD: distinfo,v 1.6 2003/09/04 12:47:37 abs Exp $ SHA1 (fping-2.4b2_to.tar.gz) = 9318f2ec4b389cd74ca32f561fea95f9528f16a3 Size (fping-2.4b2_to.tar.gz) = 60968 bytes +SHA1 (patch-aa) = df15ec2bd474636c0950b465f918791657b7f5d8 diff --git a/net/fping/patches/patch-aa b/net/fping/patches/patch-aa new file mode 100644 index 00000000000..9db9cb743c5 --- /dev/null +++ b/net/fping/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.6 2003/09/04 12:47:38 abs Exp $ + +--- fping.c.orig Fri Jul 20 18:10:26 2001 ++++ fping.c +@@ -1547,8 +1547,10 @@ int wait_for_reply( void ) + + ip = ( struct ip* )buffer; + +-#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ ) +- /* The alpha headers are decidedly broken. ++#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ ) && !defined( __NetBSD__ ) ++ /* The alpha headers are decidedly broken. ++ * XXX _WHAT_ 'alpha'? OSF? True64? Linux?... Certainly not NetBSD ++ * XXX If defining for a particular broken OS then _include the OS_. + * Using an ANSI compiler, it provides ip_vhl instead of ip_hl and + * ip_v. So, to get ip_hl, we mask off the bottom four bits. + */ -- cgit v1.2.3