Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 22:54:04 +0000 (UTC)
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459801 - in head/net-mgmt/nagios: . files
Message-ID:  <201801232254.w0NMs4g1006493@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801232254.w0NMs4g1006493>