SOURCES: nagios-plugins-pgsql.patch (NEW) - fix build with pgsql 8.3

glen glen at pld-linux.org
Mon Apr 28 23:43:52 CEST 2008


Author: glen                         Date: Mon Apr 28 21:43:52 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build with pgsql 8.3

---- Files affected:
SOURCES:
   nagios-plugins-pgsql.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/nagios-plugins-pgsql.patch
diff -u /dev/null SOURCES/nagios-plugins-pgsql.patch:1.1
--- /dev/null	Mon Apr 28 23:43:52 2008
+++ SOURCES/nagios-plugins-pgsql.patch	Mon Apr 28 23:43:47 2008
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 28_check_pgsql_include_for_8.3.dpatch by Jan Wagner <waja at cyconet.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: include pg_config_manual.h since NAMEDATALEN definition moved there with psql 8.3 
+
+ at DPATCH@
+diff -Nur nagios-plugins-1.4.11.orig/plugins/check_pgsql.c nagios-plugins-1.4.11/plugins/check_pgsql.c
+--- nagios-plugins-1.4.11.orig/plugins/check_pgsql.c	2007-01-28 22:46:41.000000000 +0100
++++ nagios-plugins-1.4.11/plugins/check_pgsql.c	2008-01-24 15:54:56.533368467 +0100
+@@ -43,6 +43,7 @@
+ #include "utils.h"
+ 
+ #include "netutils.h"
++#include "pg_config_manual.h"
+ #include <libpq-fe.h>
+ 
+ #define DEFAULT_DB "template1"
================================================================


More information about the pld-cvs-commit mailing list