diff options
author | abs <abs> | 2003-09-04 12:47:37 +0000 |
---|---|---|
committer | abs <abs> | 2003-09-04 12:47:37 +0000 |
commit | f1281f57da81a54bee9bb752e2f46b52b65a452d (patch) | |
tree | dde37150a74e68b425b97c63a5e8f8cd800402cf /net/fping6 | |
parent | 92e741c573aeb4d40680ea027d0bb84f5b15eddb (diff) | |
download | pkgsrc-f1281f57da81a54bee9bb752e2f46b52b65a452d.tar.gz |
Update fping and fping6 to 2.4b2nb1.
Add !defined(__NetBSD__) to a broken __alpha__ test.
Diffstat (limited to 'net/fping6')
-rw-r--r-- | net/fping6/distinfo | 3 | ||||
-rw-r--r-- | net/fping6/patches/patch-ab | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/net/fping6/distinfo b/net/fping6/distinfo index 8319f23b684..c0f1c039f85 100644 --- a/net/fping6/distinfo +++ b/net/fping6/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2003/03/24 15:21:36 bouyer Exp $ +$NetBSD: distinfo,v 1.2 2003/09/04 12:47:39 abs Exp $ SHA1 (fping-2.4b2_to-ipv6.tar.gz) = d310c6fe951f64660d4c0a5f2bd1c5379c1e5bde Size (fping-2.4b2_to-ipv6.tar.gz) = 63333 bytes SHA1 (patch-aa) = 4cf9043f7106d9c85b2401a63d1c1dd50d4ee8f0 +SHA1 (patch-ab) = c09f49b1d5851a8a871b7b910c3d53554629e55e diff --git a/net/fping6/patches/patch-ab b/net/fping6/patches/patch-ab new file mode 100644 index 00000000000..4e1734b307c --- /dev/null +++ b/net/fping6/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1 2003/09/04 12:47:39 abs Exp $ + +--- fping.c.orig Thu Sep 4 13:44:10 2003 ++++ fping.c +@@ -1625,8 +1625,10 @@ int wait_for_reply( void ) + + ip = ( struct ip* )buffer; + #ifndef IPV6 +-#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. + */ |