diff options
author | seb <seb@pkgsrc.org> | 2008-03-16 21:13:05 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2008-03-16 21:13:05 +0000 |
commit | 84fccd63374288d7d68890961faa7014499dc55e (patch) | |
tree | 73e40640cbc13e09fd5ccc016432dd7972cb8c36 /net/nagios-plugin-pgsql | |
parent | db641baf198a7df79099ad27c94ffefe9d7ededd (diff) | |
download | pkgsrc-84fccd63374288d7d68890961faa7014499dc55e.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')
-rw-r--r-- | net/nagios-plugin-pgsql/distinfo | 3 | ||||
-rw-r--r-- | net/nagios-plugin-pgsql/patches/patch-an | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/net/nagios-plugin-pgsql/distinfo b/net/nagios-plugin-pgsql/distinfo index 956afc0ad1d..7c60a0cbb8b 100644 --- a/net/nagios-plugin-pgsql/distinfo +++ b/net/nagios-plugin-pgsql/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2006/10/16 08:40:45 seb Exp $ +$NetBSD: distinfo,v 1.4 2008/03/16 21:13:05 seb Exp $ SHA1 (nagios-plugins-1.4.3.tar.gz) = c26fc2f31d7579c3a8174dcd1965046c4b1c8d37 RMD160 (nagios-plugins-1.4.3.tar.gz) = bc1d4f8cddd481775c514758a462fe533e01e846 @@ -6,3 +6,4 @@ Size (nagios-plugins-1.4.3.tar.gz) = 1257775 bytes SHA1 (patch-ak) = c3d9f6ea9a971c45ec4159f800c2a975a3013c82 SHA1 (patch-al) = cfeef69928795681f17e1faa1639fb3e57a31c32 SHA1 (patch-am) = ed7e108505679e739449b5eed6101f307e23f436 +SHA1 (patch-an) = 728d37331b2d5bee011abaefd37c9e17af06baf6 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" |