diff options
author | Remi Collet <remi@remirepo.net> | 2022-12-01 16:14:03 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-12-01 16:14:03 +0100 |
commit | 879ad5bb32ab9182afce0db96a5a76702abfb50d (patch) | |
tree | 83bb6c604b6a032ef5b44c0082776dfdd45040f4 /17.patch |
open https://github.com/TysonAndre/immutable_cache-pecl/pull/16 - use TEST_PHP_ARGS
open https://github.com/TysonAndre/immutable_cache-pecl/pull/17 - mark igbinary as required
Diffstat (limited to '17.patch')
-rw-r--r-- | 17.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/17.patch b/17.patch new file mode 100644 index 0000000..4fb2c94 --- /dev/null +++ b/17.patch @@ -0,0 +1,34 @@ +From 40b4d9d4e7be19fd54ab9796f5548848ece0fc57 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Thu, 1 Dec 2022 15:45:10 +0100 +Subject: [PATCH] mark igbinary as required + +--- + php_immutable_cache.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +diff --git a/php_immutable_cache.c b/php_immutable_cache.c +index 3d93868..3eb6ec9 100644 +--- a/php_immutable_cache.c ++++ b/php_immutable_cache.c +@@ -625,10 +625,19 @@ PHP_FUNCTION(immutable_cache_exists) { + } + /* }}} */ + ++static const zend_module_dep immutable_cache_deps[] = { ++#ifdef IMMUTABLE_CACHE_IGBINARY ++ ZEND_MOD_REQUIRED("igbinary") ++#endif ++ ZEND_MOD_END ++}; ++ + /* {{{ module definition structure */ + + zend_module_entry immutable_cache_module_entry = { +- STANDARD_MODULE_HEADER, ++ STANDARD_MODULE_HEADER_EX, ++ NULL, ++ immutable_cache_deps, + PHP_IMMUTABLE_CACHE_EXTNAME, + ext_functions, + PHP_MINIT(immutable_cache), |