mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
Help nagios cope with php-7
split has been replaced with explode PR: 224509
This commit is contained in:
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
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= nagios
|
PORTNAME= nagios
|
||||||
PORTVERSION= 3.5.1
|
PORTVERSION= 3.5.1
|
||||||
PORTREVISION= 10
|
PORTREVISION= 11
|
||||||
CATEGORIES= net-mgmt
|
CATEGORIES= net-mgmt
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION}
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION}
|
||||||
|
|
||||||
|
|
11
net-mgmt/nagios/files/patch-html_includes_rss_parse.inc
Normal file
11
net-mgmt/nagios/files/patch-html_includes_rss_parse.inc
Normal 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;
|
Loading…
Add table
Reference in a new issue