diff options
author | mm <mm@FreeBSD.org> | 2007-07-24 06:30:42 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2007-07-24 06:30:42 +0800 |
commit | d475306d3109bcaa8e7a8b2ed552d8e7545c435d (patch) | |
tree | 135feca4cd22bd905414e21ef173291203422807 /net-mgmt/nagios-plugins | |
parent | 2d82e26e873b582aefe9eaa572151964ce896d9c (diff) | |
download | freebsd-ports-gnome-d475306d3109bcaa8e7a8b2ed552d8e7545c435d.tar.gz freebsd-ports-gnome-d475306d3109bcaa8e7a8b2ed552d8e7545c435d.tar.zst freebsd-ports-gnome-d475306d3109bcaa8e7a8b2ed552d8e7545c435d.zip |
- add patch for 7-CURRENT by Petr Lampa <lampa@fit.vutbr.cz>
PR: ports/114793
Approved by: maintainer, garga (mentor)
Diffstat (limited to 'net-mgmt/nagios-plugins')
-rw-r--r-- | net-mgmt/nagios-plugins/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/nagios-plugins/files/patch-lib__utils_base.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile index 58eea7515d01..48cc3f85e11e 100644 --- a/net-mgmt/nagios-plugins/Makefile +++ b/net-mgmt/nagios-plugins/Makefile @@ -7,6 +7,7 @@ PORTNAME= nagios-plugins PORTVERSION= 1.4.9 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} diff --git a/net-mgmt/nagios-plugins/files/patch-lib__utils_base.c b/net-mgmt/nagios-plugins/files/patch-lib__utils_base.c new file mode 100644 index 000000000000..0981958ae0ad --- /dev/null +++ b/net-mgmt/nagios-plugins/files/patch-lib__utils_base.c @@ -0,0 +1,11 @@ +--- lib/utils_base.c.orig Sat Jul 21 17:42:49 2007 ++++ lib/utils_base.c Sat Jul 21 17:43:07 2007 +@@ -89,7 +89,7 @@ + { + thresholds *temp_thresholds = NULL; + +- temp_thresholds = malloc(sizeof(temp_thresholds)); ++ temp_thresholds = malloc(sizeof(thresholds)); + + temp_thresholds->warning = NULL; + temp_thresholds->critical = NULL; |