Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2017 22:09:52 +0000 (UTC)
From:      Jochen Neumeister <joneum@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455314 - in head/devel/pear: . files
Message-ID:  <201712012209.vB1M9q3Z082674@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joneum
Date: Fri Dec  1 22:09:52 2017
New Revision: 455314
URL: https://svnweb.freebsd.org/changeset/ports/455314

Log:
  add patch-php72, now devel/pear is PHP 7.2 ready
  
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13233

Added:
  head/devel/pear/files/patch-php72   (contents, props changed)
Modified:
  head/devel/pear/Makefile

Modified: head/devel/pear/Makefile
==============================================================================
--- head/devel/pear/Makefile	Fri Dec  1 22:01:03 2017	(r455313)
+++ head/devel/pear/Makefile	Fri Dec  1 22:09:52 2017	(r455314)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pear
 PORTVERSION=	1.10.5
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://mirror.bsdproject.de/
 

Added: head/devel/pear/files/patch-php72
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pear/files/patch-php72	Fri Dec  1 22:09:52 2017	(r455314)
@@ -0,0 +1,24 @@
+From 85ebf1e6190681820634c891af624bacde49a017 Mon Sep 17 00:00:00 2001
+From: Andy Thompson <me@andytson.com>
+Date: Sun, 11 Jun 2017 09:25:12 +0100
+Subject: [PATCH] Remove unneeded by-reference on built-in fuction
+
+PHP 7.2 is complaining about this. It also doesn't appear to be
+needed, as the argument array items aren't being passed by-reference.
+---
+ Archive/Tar.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Archive/Tar.php b/Archive/Tar.php
+index 202fffb..0bd1c6c 100644
+--- go-pear-bundle/Tar.php
++++ go-pear-bundle/Tar.php
+@@ -659,7 +659,7 @@ public function setAttribute()
+         }
+
+         // ----- Get the arguments
+-        $v_att_list = & func_get_args();
++        $v_att_list = func_get_args();
+
+         // ----- Read the attributes
+         $i = 0;



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