summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-06-30 21:17:25 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-06-30 21:17:25 +0800
commitfff57317fa74964c1ae9f5a8db0d5a3d42504ef0 (patch)
tree444c3c790dd976a4c1ba3f7f1e961f848e1c8473
parentdd041756883ee07e3e67e8e2704d93b59efd90e7 (diff)
downloadfreebsd-ports-fff57317fa74964c1ae9f5a8db0d5a3d42504ef0.zip
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]
-rw-r--r--www/pecl-yaf/Makefile2
1 files changed, 1 insertions, 1 deletions
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>