MFH: r513738

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

Approved by:	ports-secteam (miwi)
This commit is contained in:
Torsten Zuehlsdorff 2019-10-05 21:33:33 +00:00
parent ef7d74f43b
commit 49e3623c3a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q4/; revision=513847
3 changed files with 26 additions and 4 deletions

View File

@ -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/

View File

@ -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

View File

@ -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"