summaryrefslogtreecommitdiff
path: root/net/fping
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2003-09-04 12:47:37 +0000
committerabs <abs@pkgsrc.org>2003-09-04 12:47:37 +0000
commitd79533ea5b6d23d18de6313ebeb21fa48e4fa355 (patch)
treedde37150a74e68b425b97c63a5e8f8cd800402cf /net/fping
parente5fca868c5f224f8891f69204661e9ab5bc89ec5 (diff)
downloadpkgsrc-d79533ea5b6d23d18de6313ebeb21fa48e4fa355.tar.gz
Update fping and fping6 to 2.4b2nb1.
Add !defined(__NetBSD__) to a broken __alpha__ test.
Diffstat (limited to 'net/fping')
-rw-r--r--net/fping/Makefile3
-rw-r--r--net/fping/distinfo3
-rw-r--r--net/fping/patches/patch-aa17
3 files changed, 21 insertions, 2 deletions
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.
+ */