summaryrefslogtreecommitdiff
path: root/devel/pecl-mustache/files/patch-php85
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pecl-mustache/files/patch-php85')
-rw-r--r--devel/pecl-mustache/files/patch-php8511
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/pecl-mustache/files/patch-php85 b/devel/pecl-mustache/files/patch-php85
new file mode 100644
index 000000000000..9b8eba67e88e
--- /dev/null
+++ b/devel/pecl-mustache/files/patch-php85
@@ -0,0 +1,11 @@
+--- mustache_exceptions.cpp.orig 2022-11-26 22:02:48 UTC
++++ mustache_exceptions.cpp
+@@ -18,7 +18,7 @@ PHP_MINIT_FUNCTION(mustache_exceptions)
+ 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;