diff options
author | he <he@pkgsrc.org> | 2016-12-29 15:04:29 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2016-12-29 15:04:29 +0000 |
commit | c482bacda452d3cbaf6e4a8a214dd9b8221db0d9 (patch) | |
tree | a637208dec772288de66fcc1c6cc58fb5653325c | |
parent | 2eba94be862ea308e043d73ad642cfbb151ebd35 (diff) | |
download | pkgsrc-c482bacda452d3cbaf6e4a8a214dd9b8221db0d9.tar.gz |
Add a patch so that this builds on netbsd-6 as well.
OK from wiz@
-rw-r--r-- | net/fping/distinfo | 3 | ||||
-rw-r--r-- | net/fping/patches/patch-src_socket4.c | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/net/fping/distinfo b/net/fping/distinfo index 268d9af0666..e6be440eb75 100644 --- a/net/fping/distinfo +++ b/net/fping/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.10 2016/11/01 14:53:29 adam Exp $ +$NetBSD: distinfo,v 1.11 2016/12/29 15:04:29 he Exp $ SHA1 (fping-3.13.tar.gz) = cf38041613a5afaf614130dd79ebbcc5a121d196 RMD160 (fping-3.13.tar.gz) = 8014495b2665d44dcd942e6b772d2bcdc94dc104 SHA512 (fping-3.13.tar.gz) = d6c1c5b9edb97ef59cfb6d22f74f6a055e52465d3ba0f93be35b6fc9615ee08490ee927f3cf9efd087e18279519292f353abe6152061985ee166ba5f7e95e29d Size (fping-3.13.tar.gz) = 155976 bytes SHA1 (patch-aa) = b6f1470e21efe9adaa9dee1e870b2887c506ec08 +SHA1 (patch-src_socket4.c) = fc7ea74b7aee1e468318b9385c90a4d5b465d778 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> |