pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/fping



Module Name:    pkgsrc
Committed By:   he
Date:           Thu Dec 29 15:04:29 UTC 2016

Modified Files:
        pkgsrc/net/fping: distinfo
Added Files:
        pkgsrc/net/fping/patches: patch-src_socket4.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/net/fping/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/fping/patches/patch-src_socket4.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/fping/distinfo
diff -u pkgsrc/net/fping/distinfo:1.10 pkgsrc/net/fping/distinfo:1.11
--- pkgsrc/net/fping/distinfo:1.10      Tue Nov  1 14:53:29 2016
+++ pkgsrc/net/fping/distinfo   Thu Dec 29 15:04:29 2016
@@ -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

Added files:

Index: pkgsrc/net/fping/patches/patch-src_socket4.c
diff -u /dev/null pkgsrc/net/fping/patches/patch-src_socket4.c:1.1
--- /dev/null   Thu Dec 29 15:04:29 2016
+++ pkgsrc/net/fping/patches/patch-src_socket4.c        Thu Dec 29 15:04:29 2016
@@ -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