svn commit: r459801 - in head/net-mgmt/nagios: . files

Palle Girgensohn girgen at FreeBSD.org
Tue Jan 23 23:31:45 UTC 2018


Author: girgen
Date: Tue Jan 23 22:54:03 2018
New Revision: 459801
URL: https://svnweb.freebsd.org/changeset/ports/459801

Log:
  Help nagios cope with php-7
  
  split has been replaced with explode
  
  PR:	224509

Added:
  head/net-mgmt/nagios/files/patch-html_includes_rss_parse.inc   (contents, props changed)
Modified:
  head/net-mgmt/nagios/Makefile

Modified: head/net-mgmt/nagios/Makefile
==============================================================================
--- head/net-mgmt/nagios/Makefile	Tue Jan 23 22:39:10 2018	(r459800)
+++ head/net-mgmt/nagios/Makefile	Tue Jan 23 22:54:03 2018	(r459801)
@@ -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}
 

Added: head/net-mgmt/nagios/files/patch-html_includes_rss_parse.inc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/nagios/files/patch-html_includes_rss_parse.inc	Tue Jan 23 22:54:03 2018	(r459801)
@@ -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;


More information about the svn-ports-head mailing list