pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nagios-plugin-pgsql Fix build with PostgreSQL 8.3....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46a4e039b02d
branches:  trunk
changeset: 539919:46a4e039b02d
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Mar 16 21:13:05 2008 +0000

description:
Fix build with PostgreSQL 8.3. From
http://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk/plugins/check_pgsql.c
revision 1951

diffstat:

 net/nagios-plugin-pgsql/distinfo         |   3 ++-
 net/nagios-plugin-pgsql/patches/patch-an |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r c66d3c32fcb5 -r 46a4e039b02d net/nagios-plugin-pgsql/distinfo
--- a/net/nagios-plugin-pgsql/distinfo  Sun Mar 16 20:49:44 2008 +0000
+++ b/net/nagios-plugin-pgsql/distinfo  Sun Mar 16 21:13:05 2008 +0000
@@ -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 @@
 SHA1 (patch-ak) = c3d9f6ea9a971c45ec4159f800c2a975a3013c82
 SHA1 (patch-al) = cfeef69928795681f17e1faa1639fb3e57a31c32
 SHA1 (patch-am) = ed7e108505679e739449b5eed6101f307e23f436
+SHA1 (patch-an) = 728d37331b2d5bee011abaefd37c9e17af06baf6
diff -r c66d3c32fcb5 -r 46a4e039b02d net/nagios-plugin-pgsql/patches/patch-an
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nagios-plugin-pgsql/patches/patch-an  Sun Mar 16 21:13:05 2008 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index