git: bb7219274899 - main - devel/pecl-zookeeper: Fix build with PHP 8.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Jul 2025 07:26:54 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bb72192748990d6b97b5b16f6d09224fdc51ba93
commit bb72192748990d6b97b5b16f6d09224fdc51ba93
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-07-23 07:18:59 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-07-23 07:23:11 +0000
devel/pecl-zookeeper: Fix build with PHP 8.5
Reference: https://pkg-status.freebsd.org/beefy22/data/142amd64-default/d4f6e186cb15/logs/php85-pecl-zookeeper-1.2.2.log
---
devel/pecl-zookeeper/files/patch-php85 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/devel/pecl-zookeeper/files/patch-php85 b/devel/pecl-zookeeper/files/patch-php85
new file mode 100644
index 000000000000..6efa2f09aa6b
--- /dev/null
+++ b/devel/pecl-zookeeper/files/patch-php85
@@ -0,0 +1,11 @@
+--- php_zookeeper_exceptions.c.orig 2025-01-02 06:11:14 UTC
++++ php_zookeeper_exceptions.c
+@@ -39,7 +39,7 @@ void php_zk_register_exceptions()
+ zend_class_entry ce;
+
+ INIT_CLASS_ENTRY(ce, "ZookeeperException", NULL);
+- zk_base_exception = zend_register_internal_class_ex(&ce, zend_exception_get_default());
++ zk_base_exception = zend_register_internal_class_ex(&ce, zend_ce_exception);
+
+ INIT_CLASS_ENTRY(ce, "ZookeeperOperationTimeoutException", NULL);
+ zk_optimeout_exception = zend_register_internal_class_ex(&ce, zk_base_exception);