1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Help nagios cope with php-7

split has been replaced with explode

PR:	224509
This commit is contained in:
Palle Girgensohn 2018-01-23 22:54:03 +00:00
parent 36978571ef
commit a7efdfb5dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459801
2 changed files with 12 additions and 1 deletions

View File

@ -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}

View File

@ -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;