From 4ed49e898c23d78146bbabda85bf075a273d108c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Jul 2025 11:42:35 +0200 Subject: fix for PHP 8.5.0alpha3 using patch from https://github.com/igbinary/igbinary/pull/398 re-license spec file to CECILL-2.1 --- 398.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 398.patch (limited to '398.patch') 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 +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); -- cgit