summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormarino <marino>2012-05-24 15:26:14 +0000
committermarino <marino>2012-05-24 15:26:14 +0000
commit5c2a539a7652da53e41caf1fd2ee84b01c607fba (patch)
tree770f2c1c1664d6c32375c88f5d9c618876ff9972 /net
parent300661328a289be0e1d027d7e75026a75175ff8a (diff)
downloadpkgsrc-5c2a539a7652da53e41caf1fd2ee84b01c607fba.tar.gz
net/nagios-plugin-pgsql: Fix DragonFly
Diffstat (limited to 'net')
-rw-r--r--net/nagios-plugin-pgsql/distinfo3
-rw-r--r--net/nagios-plugin-pgsql/patches/patch-lib_utils_base.c14
2 files changed, 16 insertions, 1 deletions
diff --git a/net/nagios-plugin-pgsql/distinfo b/net/nagios-plugin-pgsql/distinfo
index f8c4bb2fcf0..894c7fd17db 100644
--- a/net/nagios-plugin-pgsql/distinfo
+++ b/net/nagios-plugin-pgsql/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2011/04/08 22:49:19 morr Exp $
+$NetBSD: distinfo,v 1.9 2012/05/24 15:26:14 marino Exp $
SHA1 (nagios-plugins-1.4.15.tar.gz) = 1faab309c06d37e559490fd852ecb0dc8a8ab610
RMD160 (nagios-plugins-1.4.15.tar.gz) = c2780a3523cf4eaaed34a94c07f5f6bd6fb1f736
@@ -6,3 +6,4 @@ Size (nagios-plugins-1.4.15.tar.gz) = 2095419 bytes
SHA1 (patch-ak) = dd9aba7a0930a6448e372b581ba04d62018a973b
SHA1 (patch-al) = 63e28ae36d671e773acfe6aeb45ab7603c112594
SHA1 (patch-am) = adc95ba1037a7d7caab6dde6ca1e27e47754db62
+SHA1 (patch-lib_utils_base.c) = 7e315711f8ca9ec033841c8f0eb9e037625c84ca
diff --git a/net/nagios-plugin-pgsql/patches/patch-lib_utils_base.c b/net/nagios-plugin-pgsql/patches/patch-lib_utils_base.c
new file mode 100644
index 00000000000..f02abb2045b
--- /dev/null
+++ b/net/nagios-plugin-pgsql/patches/patch-lib_utils_base.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_utils_base.c,v 1.1 2012/05/24 15:26:14 marino Exp $
+
+--- lib/utils_base.c.orig 2010-07-27 20:47:16.000000000 +0000
++++ lib/utils_base.c
+@@ -28,6 +28,9 @@
+ #include <stdarg.h>
+ #include "utils_base.h"
+ #include <fcntl.h>
++#ifdef __DragonFly__
++#include <sys/stat.h>
++#endif
+
+ #define np_free(ptr) { if(ptr) { free(ptr); ptr = NULL; } }
+