Date: Fri, 30 Jun 2023 13:18:40 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: fff57317fa74 - main - www/pecl-yaf: Fix build with PHP 8.3 Message-ID: <202306301318.35UDIe98066734@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fff57317fa74964c1ae9f5a8db0d5a3d42504ef0 commit fff57317fa74964c1ae9f5a8db0d5a3d42504ef0 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-06-30 13:17:25 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-06-30 13:17:25 +0000 www/pecl-yaf: Fix build with PHP 8.3 PHP 8.3 removes ZEND_HOT in [1]. This fix basically reverts [2]. --- src/php_couchbase.lo --- In file included from /wrkdirs/usr/ports/databases/pecl-couchbase/work-php83/couchbase-4.1.4/src/php_couchbase.cxx:17: /wrkdirs/usr/ports/databases/pecl-couchbase/work-php83/couchbase-4.1.4/src/wrapper/common.hxx:34:1: error: unknown type name 'zend_bool' zend_bool log_php_log_err{ 1 }; ^ /wrkdirs/usr/ports/databases/pecl-couchbase/work-php83/couchbase-4.1.4/src/wrapper/common.hxx:35:1: error: unknown type name 'zend_bool' zend_bool log_stderr{ 0 }; ^ /wrkdirs/usr/ports/databases/pecl-couchbase/work-php83/couchbase-4.1.4/src/wrapper/common.hxx:39:1: error: unknown type name 'zend_bool' zend_bool initialized{ 0 }; ^ 3 errors generated. *** [src/php_couchbase.lo] Error code 1 make[1]: stopped in /wrkdirs/usr/ports/databases/pecl-couchbase/work-php83/couchbase-4.1.4 Reference: https://github.com/php/php-src/commit/90b0e779213de6aa6a500030f6da93d8d91cffbf [1] https://github.com/laruence/yaf/commit/08894ab3ed44adb809f040707a5732ce65b771e7 [2] --- www/pecl-yaf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pecl-yaf/Makefile b/www/pecl-yaf/Makefile index aeff5b8a6efe..341d2e99a8ea 100644 --- a/www/pecl-yaf/Makefile +++ b/www/pecl-yaf/Makefile @@ -14,6 +14,6 @@ LIB_DEPENDS= libpcre.so:devel/pcre USES= localbase php:pecl -IGNORE_WITH_PHP=83 +CFLAGS+= -DZEND_HOT= .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306301318.35UDIe98066734>