From ecb304a65f053661664e8b3f0604b83149351963 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 14 Aug 2025 09:51:15 +0200 Subject: fix for PHP 8.5.0alpha3 using patch from https://github.com/Imagick/imagick/pull/741 --- 741.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 741.patch (limited to '741.patch') diff --git a/741.patch b/741.patch new file mode 100644 index 0000000..9b76e05 --- /dev/null +++ b/741.patch @@ -0,0 +1,24 @@ +From b6b4f1270b2d5082aeaa1364e077e7e95b8af34f Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Wed, 30 Jul 2025 12:13:51 +0200 +Subject: [PATCH] use Zend/zend_smart_string.h + +--- + imagick.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/imagick.c b/imagick.c +index c5f2c40b..68e63e13 100644 +--- a/imagick.c ++++ b/imagick.c +@@ -24,7 +24,9 @@ + #include "php_imagick_helpers.h" + #include "php_imagick_shared.h" + +-#if PHP_VERSION_ID >= 70000 ++#if PHP_VERSION_ID >= 70200 ++#include "Zend/zend_smart_string.h" ++#elif PHP_VERSION_ID >= 70000 + #include "ext/standard/php_smart_string.h" + #else + #include "ext/standard/php_smart_str.h" -- cgit