summaryrefslogtreecommitdiff
path: root/net/nagios-plugin-pgsql/patches
diff options
context:
space:
mode:
authorseb <seb>2008-03-16 21:13:05 +0000
committerseb <seb>2008-03-16 21:13:05 +0000
commit2ed9fa5bf0abe95f4b9b11a6cdc64366fec854bd (patch)
tree73e40640cbc13e09fd5ccc016432dd7972cb8c36 /net/nagios-plugin-pgsql/patches
parent00a4e93b629325abfd8530b28a777c9d3b4359dc (diff)
downloadpkgsrc-2ed9fa5bf0abe95f4b9b11a6cdc64366fec854bd.tar.gz
Fix build with PostgreSQL 8.3. From
http://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk/plugins/check_pgsql.c revision 1951
Diffstat (limited to 'net/nagios-plugin-pgsql/patches')
-rw-r--r--net/nagios-plugin-pgsql/patches/patch-an16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/nagios-plugin-pgsql/patches/patch-an b/net/nagios-plugin-pgsql/patches/patch-an
new file mode 100644
index 00000000000..d593d591c03
--- /dev/null
+++ b/net/nagios-plugin-pgsql/patches/patch-an
@@ -0,0 +1,16 @@
+$NetBSD: patch-an,v 1.1 2008/03/16 21:13:05 seb Exp $
+
+Fix build with PostgreSQL 8.3. From
+http://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk/plugins/check_pgsql.c
+revision 1951
+
+--- plugins/check_pgsql.c.orig 2004-12-25 23:17:44.000000000 +0000
++++ plugins/check_pgsql.c
+@@ -28,6 +28,7 @@ const char *email = "nagiosplug-devel@li
+
+ #include "netutils.h"
+ #include <libpq-fe.h>
++#include <pg_config_manual.h>
+
+ #define DEFAULT_DB "template1"
+ #define DEFAULT_HOST "127.0.0.1"