diff options
author | marino <marino> | 2012-05-24 15:24:06 +0000 |
---|---|---|
committer | marino <marino> | 2012-05-24 15:24:06 +0000 |
commit | d3a938e00c2ce4aba2e2002dcaae52305264b781 (patch) | |
tree | 0b06caf51d73e38d6ab6c01a7d6da3129e9f9742 /net/nagios-plugin-mysql/patches | |
parent | d8bdef4a2f93f09ccc43bcfa78f128f1a39d7c4f (diff) | |
download | pkgsrc-d3a938e00c2ce4aba2e2002dcaae52305264b781.tar.gz |
net/nagios-plugin-mysql: Fix DragonFly
Diffstat (limited to 'net/nagios-plugin-mysql/patches')
-rw-r--r-- | net/nagios-plugin-mysql/patches/patch-lib_utils_base.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/nagios-plugin-mysql/patches/patch-lib_utils_base.c b/net/nagios-plugin-mysql/patches/patch-lib_utils_base.c new file mode 100644 index 00000000000..e22b4b33b3f --- /dev/null +++ b/net/nagios-plugin-mysql/patches/patch-lib_utils_base.c @@ -0,0 +1,14 @@ +$NetBSD: patch-lib_utils_base.c,v 1.1 2012/05/24 15:24:06 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; } } + |