summaryrefslogtreecommitdiffstats
path: root/69.patch
diff options
context:
space:
mode:
Diffstat (limited to '69.patch')
-rw-r--r--69.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/69.patch b/69.patch
new file mode 100644
index 0000000..6cbdffe
--- /dev/null
+++ b/69.patch
@@ -0,0 +1,22 @@
+From b7dca6820a2e90b64fde3f0fe2af35f4cbffae6f Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Fri, 18 Jul 2025 06:31:34 +0200
+Subject: [PATCH] drop zend_exception_get_default usage
+
+---
+ mustache_exceptions.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mustache_exceptions.cpp b/mustache_exceptions.cpp
+index bae387c..6e90437 100644
+--- a/mustache_exceptions.cpp
++++ b/mustache_exceptions.cpp
+@@ -18,7 +18,7 @@ zend_class_entry * MustacheParserException_ce_ptr;
+ PHP_MINIT_FUNCTION(mustache_exceptions)
+ {
+ try {
+- zend_class_entry * exception_ce = zend_exception_get_default();
++ zend_class_entry * exception_ce = zend_ce_exception;
+
+ // MustacheException
+ zend_class_entry mustache_exception_ce;