diff options
author | Palle Girgensohn <girgen@FreeBSD.org> | 2018-01-23 22:54:03 +0000 |
---|---|---|
committer | Palle Girgensohn <girgen@FreeBSD.org> | 2018-01-23 22:54:03 +0000 |
commit | a7efdfb5dd0ba78b0b5a02ffbf4e509beedbfe11 (patch) | |
tree | af98d142972144c21a6569e2252d9ebbcc1e35f7 | |
parent | 36978571ef4940bc28490507dcd09c52569e5837 (diff) |
Help nagios cope with php-7
split has been replaced with explode
PR: 224509
Notes
Notes:
svn path=/head/; revision=459801
-rw-r--r-- | net-mgmt/nagios/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/nagios/files/patch-html_includes_rss_parse.inc | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile index c821b3431437..9bb06d45d3e4 100644 --- a/net-mgmt/nagios/Makefile +++ b/net-mgmt/nagios/Makefile @@ -3,7 +3,7 @@ PORTNAME= nagios PORTVERSION= 3.5.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION} diff --git a/net-mgmt/nagios/files/patch-html_includes_rss_parse.inc b/net-mgmt/nagios/files/patch-html_includes_rss_parse.inc new file mode 100644 index 000000000000..06215c2541b0 --- /dev/null +++ b/net-mgmt/nagios/files/patch-html_includes_rss_parse.inc @@ -0,0 +1,11 @@ +--- html/includes/rss/rss_parse.inc.orig 2017-12-21 16:55:41.032397000 +0100 ++++ html/includes/rss/rss_parse.inc 2017-12-21 16:57:40.079068000 +0100 +@@ -150,7 +150,7 @@ + // check for a namespace, and split if found + $ns = false; + if ( strpos( $element, ':' ) ) { +- list($ns, $el) = split( ':', $element, 2); ++ list($ns, $el) = explode( ':', $element, 2); + } + if ( $ns and $ns != 'rdf' ) { + $this->current_namespace = $ns; |