pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/nagios-plugin-dotpid nagios-plugin-dotpid: Add mis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38592de05adc
branches:  trunk
changeset: 359413:38592de05adc
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Mar 09 18:39:15 2017 +0000

description:
nagios-plugin-dotpid: Add missing header unistd.h. fixes FreeBSD build.

PR pkg/52055 from Alberto Mijares

diffstat:

 net/nagios-plugin-dotpid/distinfo                      |   3 ++-
 net/nagios-plugin-dotpid/patches/patch-check__dotpid.c |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 720709090123 -r 38592de05adc net/nagios-plugin-dotpid/distinfo
--- a/net/nagios-plugin-dotpid/distinfo Thu Mar 09 16:32:04 2017 +0000
+++ b/net/nagios-plugin-dotpid/distinfo Thu Mar 09 18:39:15 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 00:35:13 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/03/09 18:39:15 maya Exp $
 
 SHA1 (check_dotpid-0.4.tgz) = c75715fc43c9bc11070f9c60fec13845dc4747ac
 RMD160 (check_dotpid-0.4.tgz) = 5daa58b9d4bae6cf59010bb652e5441a58cea52e
 SHA512 (check_dotpid-0.4.tgz) = 8a1816a0a5934ee80a035924a2dc0c5b374102b37bec14087b271e01c505c9149037c74590e86ac6b46d88b8be5b922a42e8958ebd28e2a0ac8dbcc6d73910c8
 Size (check_dotpid-0.4.tgz) = 2258 bytes
+SHA1 (patch-check__dotpid.c) = 5c667d01a206b19d3af1018cbdeb8c61b56bbfd7
diff -r 720709090123 -r 38592de05adc net/nagios-plugin-dotpid/patches/patch-check__dotpid.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nagios-plugin-dotpid/patches/patch-check__dotpid.c    Thu Mar 09 18:39:15 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-check__dotpid.c,v 1.1 2017/03/09 18:39:15 maya Exp $
+
+Missing header on FreeBSD. PR pkg/52055
+
+--- check_dotpid.c.orig        2015-08-16 03:22:35.000000000 +0000
++++ check_dotpid.c
+@@ -40,6 +40,7 @@
+ #include <time.h>
+ #include <paths.h>
+ #include <sys/param.h>
++#include <unistd.h>
+ 
+ #ifndef STATE_OK
+ #define STATE_OK        0



Home | Main Index | Thread Index | Old Index