summaryrefslogtreecommitdiffstats
path: root/398.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-07-30 11:42:35 +0200
committerRemi Collet <remi@php.net>2025-07-30 11:42:35 +0200
commit4ed49e898c23d78146bbabda85bf075a273d108c (patch)
tree206a5485eae36eeacdcf1303f6919651a1da0f97 /398.patch
parent8dd70ebe7c781915b3382477b56488096e18386f (diff)
fix for PHP 8.5.0alpha3 using patch fromHEADmaster
https://github.com/igbinary/igbinary/pull/398 re-license spec file to CECILL-2.1
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);