summaryrefslogtreecommitdiffstats
path: root/398.patch
diff options
context:
space:
mode:
Diffstat (limited to '398.patch')
-rw-r--r--398.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/398.patch b/398.patch
new file mode 100644
index 0000000..117abd2
--- /dev/null
+++ b/398.patch
@@ -0,0 +1,25 @@
+From c7fe8aad3d7894bb85f5a189eba60dec9203950d Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 30 Jul 2025 11:38:30 +0200
+Subject: [PATCH] use Zend/zend_smart_string.h
+
+---
+ src/php7/php_igbinary.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/php7/php_igbinary.h b/src/php7/php_igbinary.h
+index 07312b76..d64c3702 100644
+--- a/src/php7/php_igbinary.h
++++ b/src/php7/php_igbinary.h
+@@ -32,7 +32,11 @@ ZEND_END_MODULE_GLOBALS(igbinary)
+ #include "TSRM.h"
+ #endif
+
++#if PHP_VERSION_ID < 70200
+ #include "ext/standard/php_smart_string.h"
++#else
++#include "Zend/zend_smart_string.h"
++#endif
+
+ /** Module init function. */
+ PHP_MINIT_FUNCTION(igbinary);