summaryrefslogtreecommitdiffstats
path: root/741.patch
diff options
context:
space:
mode:
Diffstat (limited to '741.patch')
-rw-r--r--741.patch24
1 files changed, 24 insertions, 0 deletions
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 <remi@remirepo.net>
+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"