summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorTorsten Zuehlsdorff <tz@FreeBSD.org>2019-10-03 21:54:47 +0000
committerTorsten Zuehlsdorff <tz@FreeBSD.org>2019-10-03 21:54:47 +0000
commit2d39a69c11f324c1924630651d66cfeb66641686 (patch)
tree9ce7ecf4d84dcf68150be250e880f04056db3510 /lang
parentUpdate to 3.0.4 (diff)
lang/php74: Upgrade from RC1 to RC3
Changelog: 03 Oct 2019, PHP 7.4.0RC3 - Core: . Fixed bug #78604 (token_get_all() does not properly tokenize FOO<?php with short_open_tag=0). (Nikita) - FFI: . Fixed bug #78543 (is_callable() on FFI\CData throws Exception). (cmb) - GMP: . Fixed bug #78574 (broken shared build). (Remi) - MBString: . Fixed bug #78579 (mb_decode_numericentity: args number inconsistency). (cmb) . Fixed bug #78609 (mb_check_encoding() no longer supports stringable objects). (cmb) - OpenSSL: . Changed the default config path (Windows only). (cmb) - Standard: . Fixed bug #78549 (Stack overflow due to nested serialized input). (Nikita) 19 Sep 2019, PHP 7.4.0RC2 - Core: . Fixed incorrect usage of QM_ASSIGN instruction. It must not return IS_VAR. As a side effect, this allowed passing left hand list() "by reference", instead of compile-time error. (Dmitry) . Fixed bug #78531 (Crash when using undefined variable as object). (Dmitry) . Fixed bug #78535 (auto_detect_line_endings value not parsed as bool). (bugreportuser) - FFI: . Added missing FFI::isNull(). (Philip Hofstetter) . Fixed bug #78488 (OOB in ZEND_FUNCTION(ffi_trampoline)). (Dmitry) - Opcache: . Add opcache.preload_user INI directive. (Dmitry) . Fixed bug #78514 (Preloading segfaults with inherited typed property). (Nikita) . Fixed bug #78429 (opcache_compile_file(__FILE__); segfaults). (cmb) - PCRE: . Fixed bug #78349 (Bundled pcre2 library missing LICENCE file). (Peter Kokot) - PDO_Firebird: . Implemented FR #77863 (PDO firebird support type Boolean in input parameters). (Simonov Denis) - PDO_MySQL: . Fixed bug #41997 (SP call yields additional empty result set). (cmb) - sodium: . Fixed bug #78510 (Partially uninitialized buffer returned by sodium_crypto_generichash_init()). (Frank Denis, cmb) . Fixed bug #78516 (password_hash(): Memory cost is not in allowed range). (cmb, Nikita) - Standard: . Fixed bug #78506 (Error in a php_user_filter::filter() is not reported). (Nikita) Changelog taken from: https://github.com/php/php-src/blob/php-7.4.0RC3/NEWS MFH: 2019Q4
Notes
Notes: svn path=/head/; revision=513738
Diffstat (limited to 'lang')
-rw-r--r--lang/php74/Makefile2
-rw-r--r--lang/php74/distinfo6
-rw-r--r--lang/php74/files/patch-build_php.m422
3 files changed, 26 insertions, 4 deletions
diff --git a/lang/php74/Makefile b/lang/php74/Makefile
index 9d7e06fba5e2..13be825456fc 100644
--- a/lang/php74/Makefile
+++ b/lang/php74/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= php74
-DISTVERSION= 7.4.0RC1
+DISTVERSION= 7.4.0RC3
PORTREVISION?= 0
CATEGORIES?= lang devel www
MASTER_SITES= https://downloads.php.net/~derick/
diff --git a/lang/php74/distinfo b/lang/php74/distinfo
index 1322f78a7e85..bf7385b1685d 100644
--- a/lang/php74/distinfo
+++ b/lang/php74/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1568926164
-SHA256 (php-7.4.0RC1.tar.xz) = 9e3d158ad070968ad9d9e796a7acf88c3cfe0e0382e991e6dee05a18049d4a62
-SIZE (php-7.4.0RC1.tar.xz) = 10212396
+TIMESTAMP = 1570042842
+SHA256 (php-7.4.0RC3.tar.xz) = 0f9aa7a1b42bd9c43895e676fc9383b8392156001e34735e0911c72ae8e81d4a
+SIZE (php-7.4.0RC3.tar.xz) = 10220844
diff --git a/lang/php74/files/patch-build_php.m4 b/lang/php74/files/patch-build_php.m4
new file mode 100644
index 000000000000..75a703bdf2be
--- /dev/null
+++ b/lang/php74/files/patch-build_php.m4
@@ -0,0 +1,22 @@
+# Workround for: Bug #78614 Does not compile with DTRACE anymore
+# See: https://bugs.php.net/bug.php?id=78614
+--- build/php.m4.orig 2019-10-03 20:45:52 UTC
++++ build/php.m4
+@@ -2326,7 +2326,7 @@ dnl header-file.
+ dnl Add providerdesc.o or .lo into global objects when needed.
+ case $host_alias in
+ *freebsd*)
+- PHP_GLOBAL_OBJS="[$]PHP_GLOBAL_OBJS [$]ac_bdir[$]ac_provsrc.o"
++ PHP_GLOBAL_OBJS="[$]PHP_GLOBAL_OBJS [$]ac_bdir[$]ac_provsrc.lo"
+ PHP_LDFLAGS="$PHP_LDFLAGS -lelf"
+ ;;
+ *solaris*)
+@@ -2374,7 +2374,7 @@ $ac_bdir[$]ac_hdrobj: $abs_srcdir/$ac_pr
+ EOF
+
+ case $host_alias in
+- *solaris*|*linux*)
++ *solaris*|*linux*|*freebsd*)
+ dtrace_prov_name="`echo $ac_provsrc | $SED -e 's#\(.*\)\/##'`.o"
+ dtrace_lib_dir="`echo $ac_bdir[$]ac_provsrc | $SED -e 's#\(.*\)/[^/]*#\1#'`/.libs"
+ dtrace_d_obj="`echo $ac_bdir[$]ac_provsrc | $SED -e 's#\(.*\)/\([^/]*\)#\1/.libs/\2#'`.o"