svn commit: r513334 - in head/devel/libphutil: . files
Michael Gmelin
grembo at FreeBSD.org
Mon Sep 30 09:12:54 UTC 2019
Author: grembo
Date: Mon Sep 30 09:12:53 2019
New Revision: 513334
URL: https://svnweb.freebsd.org/changeset/ports/513334
Log:
Fix use of implode() to avoid warnings when running on newer versions
of PHP.
See also https://www.php.net/manual/en/function.implode.php
Committed with minor changes.
PR: 240931
Submitted by: lutz at donnerhacke.de
Added:
head/devel/libphutil/files/
head/devel/libphutil/files/patch-src_utils_utils.php (contents, props changed)
Modified:
head/devel/libphutil/Makefile
Modified: head/devel/libphutil/Makefile
==============================================================================
--- head/devel/libphutil/Makefile Mon Sep 30 09:07:19 2019 (r513333)
+++ head/devel/libphutil/Makefile Mon Sep 30 09:12:53 2019 (r513334)
@@ -2,6 +2,7 @@
PORTNAME= libphutil
PORTVERSION= 20190831
+PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
Added: head/devel/libphutil/files/patch-src_utils_utils.php
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libphutil/files/patch-src_utils_utils.php Mon Sep 30 09:12:53 2019 (r513334)
@@ -0,0 +1,11 @@
+--- src/utils/utils.php.orig 2019-08-31 14:54:35 UTC
++++ src/utils/utils.php
+@@ -1703,7 +1703,7 @@ function phutil_build_http_querystring_f
+ list($key, $value) = phutil_http_parameter_pair($key, $value);
+ $query[] = rawurlencode($key).'='.rawurlencode($value);
+ }
+- $query = implode($query, '&');
++ $query = implode('&', $query);
+
+ return $query;
+ }
More information about the svn-ports-all
mailing list