From 45ed570197c3afd3b060c7ed3b788f1d31e401ae Mon Sep 17 00:00:00 2001 From: Andy Boyett Date: Sat, 2 Aug 2008 03:19:51 +0000 Subject: [PATCH] net/nagios-plugins: Add dependency on libpq (postgresql) and fix headers SVN-Revision: 12070 --- net/nagios-plugins/Makefile | 4 ++-- net/nagios-plugins/patches/003-pgsl-header-fix.patch | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 net/nagios-plugins/patches/003-pgsl-header-fix.patch diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile index 1c919bfcb..5ef65c714 100644 --- a/net/nagios-plugins/Makefile +++ b/net/nagios-plugins/Makefile @@ -1,4 +1,4 @@ -# +# # Copyright (C) 2008 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. @@ -24,7 +24,7 @@ define Package/nagios-plugins SECTION:=net CATEGORY:=Network SUBMENU:=Monitoring - DEPENDS:=+uclibcxx + DEPENDS:=+uclibcxx +libpq TITLE:=plugins for Nagios checks URL:=http://nagiosplug.sourceforge.net/ endef diff --git a/net/nagios-plugins/patches/003-pgsl-header-fix.patch b/net/nagios-plugins/patches/003-pgsl-header-fix.patch new file mode 100644 index 000000000..812975487 --- /dev/null +++ b/net/nagios-plugins/patches/003-pgsl-header-fix.patch @@ -0,0 +1,11 @@ +--- nagios-plugins-1.4.12/plugins/check_pgsql.orig.c 2008-08-01 16:05:51.000000000 -0700 ++++ nagios-plugins-1.4.12/plugins/check_pgsql.c 2008-08-01 16:06:17.000000000 -0700 +@@ -41,7 +41,7 @@ + + #include "netutils.h" + #include +-#include ++#include + + #define NAMEDATALEN 64 + #define DEFAULT_DB "template1" -- 2.30.2