Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package php-imagick for openSUSE:Factory 
checked in at 2025-11-13 17:29:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php-imagick (Old)
 and      /work/SRC/openSUSE:Factory/.php-imagick.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php-imagick"

Thu Nov 13 17:29:41 2025 rev:11 rq:1317629 version:3.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/php-imagick/php-imagick.changes  2025-11-07 
18:26:38.718000546 +0100
+++ /work/SRC/openSUSE:Factory/.php-imagick.new.2061/php-imagick.changes        
2025-11-13 17:31:14.800983674 +0100
@@ -1,0 +2,6 @@
+Tue Nov 11 19:30:52 UTC 2025 - Arjen de Korte <[email protected]>
+
+- Fix build with PHP 8.5
+  + imagick-fix-build-PHP-8.5.patch
+
+-------------------------------------------------------------------

New:
----
  imagick-fix-build-PHP-8.5.patch

----------(New B)----------
  New:- Fix build with PHP 8.5
  + imagick-fix-build-PHP-8.5.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php-imagick.spec ++++++
--- /var/tmp/diff_new_pack.6tE14K/_old  2025-11-13 17:31:15.461011638 +0100
+++ /var/tmp/diff_new_pack.6tE14K/_new  2025-11-13 17:31:15.465011808 +0100
@@ -41,6 +41,8 @@
 Source1:        php-%{pkg_name}-rpmlintrc
 # SUSE: Make build reproduceable
 Patch0:         imagick-reproducible.patch
+# PATCH-FIX-UPSTREAM - https://github.com/Imagick/imagick/pull/741
+Patch1:         imagick-fix-build-PHP-8.5.patch
 # PATCH-FIX-OPENSUSE - test expected to fail because of resource limits in 
policy.xml
 Patch10:        imagick-xfail-test014.patch
 # PATCH-FIX-OPENSUSE - skip test for Imagick >= 7.1.2 due to changes in 
similarity

++++++ imagick-fix-build-PHP-8.5.patch ++++++
>From b6b4f1270b2d5082aeaa1364e077e7e95b8af34f Mon Sep 17 00:00:00 2001
From: Remi Collet <[email protected]>
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"

Reply via email to