summaryrefslogtreecommitdiffstats
path: root/web/attachments/263605-28_check_pgsql_include_for_8.3.dpatch
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/263605-28_check_pgsql_include_for_8.3.dpatch
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
Diffstat (limited to 'web/attachments/263605-28_check_pgsql_include_for_8.3.dpatch')
-rw-r--r--web/attachments/263605-28_check_pgsql_include_for_8.3.dpatch16
1 files changed, 16 insertions, 0 deletions
diff --git a/web/attachments/263605-28_check_pgsql_include_for_8.3.dpatch b/web/attachments/263605-28_check_pgsql_include_for_8.3.dpatch
new file mode 100644
index 0000000..88fd591
--- /dev/null
+++ b/web/attachments/263605-28_check_pgsql_include_for_8.3.dpatch
@@ -0,0 +1,16 @@
1## 28_check_pgsql_include_for_8.3.dpatch by Jan Wagner <waja@cyconet.org>
2##
3## All lines beginning with `## DP:' are a description of the patch.
4## DP: include pg_config_manual.h since NAMEDATALEN definition moved there with psql 8.3
5
6diff -Nur nagios-plugins-1.4.11.orig/plugins/check_pgsql.c nagios-plugins-1.4.11/plugins/check_pgsql.c
7--- nagios-plugins-1.4.11.orig/plugins/check_pgsql.c 2007-01-28 22:46:41.000000000 +0100
8+++ nagios-plugins-1.4.11/plugins/check_pgsql.c 2008-01-24 15:54:56.533368467 +0100
9@@ -43,6 +43,7 @@
10 #include "utils.h"
11
12 #include "netutils.h"
13+#include "pg_config_manual.h"
14 #include <libpq-fe.h>
15
16 #define DEFAULT_DB "template1"