Commit Graph

5 Commits

Author SHA1 Message Date
Torsten Zuehlsdorff
2d39a69c11 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
2019-10-03 21:54:47 +00:00
Piotr Kubaj
e37ca720b9 lang/php74: fix build on GCC architectures
Use C11 compiler because of:
/wrkdirs/usr/ports/lang/php74/work/php-7.4.0RC1/Zend/zend_compile.h:363: error: redefinition of typedef 'zend_property_info'
/wrkdirs/usr/ports/lang/php74/work/php-7.4.0RC1/Zend/zend_types.h:385: error: previous declaration of 'zend_property_info' was here

Disable DTRACE on powerpc64 due to:
dtrace: failed to link script /usr/local/poudriere/ports/default/lang/php74/work/php-7.4.0RC1/Zend/zend_dtrace.d: an error was encountered while processing main/.libs/main.o

PR:		240733
Approved by:	tz (maintainer), linimon (mentor)
2019-09-30 14:16:26 +00:00
Torsten Zuehlsdorff
38ef467e56 lang/php74: fix the broken patches
The same error cause from r512431 caused some patches missing or undeleted.
Now commit the missing changes in order to unbreak PHP.

Sponsored by:	PHP Update Service
2019-09-20 19:50:07 +00:00
Torsten Zuehlsdorff
9fcf51a99f lang/php74: add module hash to PHP_EXT_INC
The hash module is now part of the core and can't be disabled anymore.
Therefore add it to the list

Reported by:	ale
Sponsored by:	PHP Update Service
Differential Revision:	https://reviews.freebsd.org/D21349
2019-09-20 19:24:23 +00:00
Torsten Zuehlsdorff
7aca2531e2 Welcome PHP 7.4 RC 1 in the ports-tree.
There are many greater changes including:
- New module ffi
- Remove interbase module
- Remove recode module
- Remove wddx module
- Many modules changes the build switches
- Many modules changes the config format, so patches needed to be recreated

Special thanks to tobik and ale for their support.

Reviewed by:	tobik, ale, joneum
Sponsored by:	PHP Update Service
Differential Revision:	https://reviews.freebsd.org/D21349
2019-09-20 12:21:11 +00:00