1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 28_check_pgsql_include_for_8.3.dpatch by Jan Wagner <waja@cyconet.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: include pg_config_manual.h since NAMEDATALEN definition moved there with psql 8.3
8 diff -Nur nagios-plugins-1.4.11.orig/plugins/check_pgsql.c nagios-plugins-1.4.11/plugins/check_pgsql.c
9 --- nagios-plugins-1.4.11.orig/plugins/check_pgsql.c 2007-01-28 22:46:41.000000000 +0100
10 +++ nagios-plugins-1.4.11/plugins/check_pgsql.c 2008-01-24 15:54:56.533368467 +0100
15 +#include "pg_config_manual.h"
18 #define DEFAULT_DB "template1"