diff options
author | he <he> | 2016-12-29 15:04:29 +0000 |
---|---|---|
committer | he <he> | 2016-12-29 15:04:29 +0000 |
commit | d1aaa257b49ba9949a5a0066c5d17ac69275ca39 (patch) | |
tree | a637208dec772288de66fcc1c6cc58fb5653325c /net/fping/patches | |
parent | 6ff8dfa889d1d8fd3426b906aea2197453a8d272 (diff) | |
download | pkgsrc-d1aaa257b49ba9949a5a0066c5d17ac69275ca39.tar.gz |
Add a patch so that this builds on netbsd-6 as well.
OK from wiz@
Diffstat (limited to 'net/fping/patches')
-rw-r--r-- | net/fping/patches/patch-src_socket4.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/fping/patches/patch-src_socket4.c b/net/fping/patches/patch-src_socket4.c new file mode 100644 index 00000000000..c5dda90c918 --- /dev/null +++ b/net/fping/patches/patch-src_socket4.c @@ -0,0 +1,16 @@ +$NetBSD: patch-src_socket4.c,v 1.1 2016/12/29 15:04:29 he Exp $ + +Fix for building on NetBSD 6.0, also works on 7.0. + +--- src/socket4.c.orig 2015-10-21 19:02:56.000000000 +0000 ++++ src/socket4.c +@@ -35,6 +35,9 @@ + + #include <sys/socket.h> + #include <netinet/in.h> ++#ifdef __NetBSD__ ++#include <netinet/in_systm.h> /* for n_time */ ++#endif /* __NetBSD__ */ + #include <netinet/ip.h> + #include <netinet/ip_icmp.h> + #include <netdb.h> |