pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/fping Add a patch so that this builds on netbsd-6 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70f3428b4e7f
branches:  trunk
changeset: 356298:70f3428b4e7f
user:      he <he%pkgsrc.org@localhost>
date:      Thu Dec 29 15:04:29 2016 +0000

description:
Add a patch so that this builds on netbsd-6 as well.
OK from wiz@

diffstat:

 net/fping/distinfo                    |   3 ++-
 net/fping/patches/patch-src_socket4.c |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 01e478e17663 -r 70f3428b4e7f net/fping/distinfo
--- a/net/fping/distinfo        Thu Dec 29 06:12:06 2016 +0000
+++ b/net/fping/distinfo        Thu Dec 29 15:04:29 2016 +0000
@@ -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 -r 01e478e17663 -r 70f3428b4e7f net/fping/patches/patch-src_socket4.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/fping/patches/patch-src_socket4.c     Thu Dec 29 15:04:29 2016 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index