diff options
author | Remi Collet <remi@remirepo.net> | 2025-07-18 06:39:19 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-07-18 06:39:19 +0200 |
commit | a1b225df47ac64656af0e82a09a188b4ba6724d3 (patch) | |
tree | 31aaaf9035d8cbcf5a37aa7daf74680c23a6d6be /69.patch | |
parent | 5eebce6fc6898f392468700aa96c6ed834552ab9 (diff) |
https://github.com/jbboehr/php-mustache/pull/69
re-license spec file to CECILL-2.1
Diffstat (limited to '69.patch')
-rw-r--r-- | 69.patch | 22 |
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; |