summaryrefslogtreecommitdiff
path: root/devel/pecl-zookeeper/files/patch-php85
blob: f6f5aedd927e4d5f5a6cb3d0f526413ac21605d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- php_zookeeper.c.orig	2025-01-02 06:11:14 UTC
+++ php_zookeeper.c
@@ -39,7 +39,7 @@
 #include <ext/standard/info.h>
 #include <zend_extensions.h>
 
-#include <ext/standard/php_smart_string.h>
+#include <Zend/zend_smart_string.h>
 
 #include "php_zookeeper.h"
 #include "php_zookeeper_private.h"
--- 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);