summaryrefslogtreecommitdiffstats
path: root/17.patch
diff options
context:
space:
mode:
Diffstat (limited to '17.patch')
-rw-r--r--17.patch34
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),