Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170027393
D13233.id36072.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D13233.id36072.diff
View Options
Index: head/devel/pear/Makefile
===================================================================
--- head/devel/pear/Makefile
+++ head/devel/pear/Makefile
@@ -3,6 +3,7 @@
PORTNAME= pear
PORTVERSION= 1.10.5
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://mirror.bsdproject.de/
Index: head/devel/pear/files/patch-php72
===================================================================
--- head/devel/pear/files/patch-php72
+++ head/devel/pear/files/patch-php72
@@ -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;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 4, 7:16 AM (14 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38207118
Default Alt Text
D13233.id36072.diff (1 KB)
Attached To
Mode
D13233: devel/pear: Not PHP72 ready
Attached
Detach File
Event Timeline
Log In to Comment