Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
PR: 226242
Submitted by: mat
Exp-run by: antoine
Approved by: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14208
In file included from bindings/php/pHash.cpp:17:
In file included from ./php_pHash.h:28:
In file included from /usr/local/include/php/main/php.h:35:
In file included from /usr/local/include/php/Zend/zend.h:36:
bindings/php/pHash.cpp:51:36: error:
unknown type name 'zend_rsrc_list_entry'
extern "C" void ph_video_hash_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
^
bindings/php/pHash.cpp:260:18: error: use of
undeclared identifier 'ZEND_REGISTER_RESOURCE'
return_res_id = ZEND_REGISTER_RESOURCE(return_value, return_res, le_ph_video_hash);
^
bindings/php/pHash.cpp:397:26: error:
unexpected type name 'ulong64': expected expression
ZEND_FETCH_RESOURCE(h1, ulong64 *, &h1_res, h1_resid, "ph_image_hash", le_ph_image_hash);
^
[...]
PR: 213213
Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
file, so the order remains the same.
Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php. A PHP extension will be automatically activated
when installed. The order into which extensions are loaded is
automatically guessed. In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php
section of the Porter's Handbook for more information.
Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.
And finally, bump PORTREVISION for all php extensions.
PR: 210697
Submitted by: mat
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D7022
PR: 202635
Submitted by: Naram Qashat <cyberbotx@cyberbotx.com>
This is the PHP extension of the pHash library, which is an open source software
library released under the GPLv3 license that implements several perceptual
hashing algorithms, and provides a C-like API to use those functions in your own
programs. pHash itself is written in C++.
http://phash.org/