diff options
author | obrien <obrien@FreeBSD.org> | 2001-04-14 15:55:41 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-04-14 15:55:41 +0800 |
commit | ed4328a8eea78a52147be6953ba91bd7cb31ed19 (patch) | |
tree | dbf87520b74a643cbab608cf35df51c8a88aa207 /net/fping/files | |
parent | 28b821c595f746e00fe4d6b9e5d652130000fde9 (diff) | |
download | freebsd-ports-gnome-ed4328a8eea78a52147be6953ba91bd7cb31ed19.tar.gz freebsd-ports-gnome-ed4328a8eea78a52147be6953ba91bd7cb31ed19.tar.zst freebsd-ports-gnome-ed4328a8eea78a52147be6953ba91bd7cb31ed19.zip |
Do not treat FreeBSD/Alpha as being braindead as some other OS that
runs on the Alpha platform.
Diffstat (limited to 'net/fping/files')
-rw-r--r-- | net/fping/files/patch-02 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/net/fping/files/patch-02 b/net/fping/files/patch-02 index 2d2777b407a4..cc071a946b3f 100644 --- a/net/fping/files/patch-02 +++ b/net/fping/files/patch-02 @@ -1,5 +1,5 @@ --- fping.c.orig Wed Jan 8 12:29:43 1997 -+++ fping.c Sat Aug 26 20:21:27 2000 ++++ fping.c Sat Apr 14 00:43:43 2001 @@ -208,6 +208,10 @@ #include <arpa/inet.h> #include <netdb.h> @@ -95,6 +95,15 @@ if (result<0) { return 0; } /* timeout */ #ifdef DEBUG +@@ -1107,7 +1119,7 @@ + return 0; + #endif + ip = (struct ip *) buffer; +-#if defined(__alpha__) && __STDC__ ++#if defined(__alpha__) && defined(__osf1__) && __STDC__ + /* The alpha headers are decidedly broken. + * 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. @@ -1144,7 +1156,6 @@ h=table[n]; |