diff options
author | Martin Matuska <mm@FreeBSD.org> | 2007-07-23 22:30:42 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2007-07-23 22:30:42 +0000 |
commit | 11402d5fe16ba1b71148c99b657283f804dc6ce9 (patch) | |
tree | 30e508947f84fba19866b990b48de848417bf9fd | |
parent | 291a4079c1c14302e0403849dc0fe7265427dbc2 (diff) | |
download | ports-11402d5fe16ba1b71148c99b657283f804dc6ce9.tar.gz ports-11402d5fe16ba1b71148c99b657283f804dc6ce9.zip |
- add patch for 7-CURRENT by Petr Lampa <lampa@fit.vutbr.cz>
PR: ports/114793
Approved by: maintainer, garga (mentor)
Notes
Notes:
svn path=/head/; revision=196156
-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; |