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 2021-11-10 21:46:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php-imagick (Old) and /work/SRC/openSUSE:Factory/.php-imagick.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php-imagick" Wed Nov 10 21:46:47 2021 rev:3 rq:930647 version:3.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/php-imagick/php-imagick.changes 2021-06-21 20:36:05.110654357 +0200 +++ /work/SRC/openSUSE:Factory/.php-imagick.new.1890/php-imagick.changes 2021-11-10 21:47:27.911838044 +0100 @@ -1,0 +2,14 @@ +Wed Nov 10 11:10:20 UTC 2021 - Johannes Weberhofer <jweberho...@weberhofer.at> + +- added imagick-fix-457-ensure-format-is-always-lowercase.patch + to fix test-failures in latest tumbleweed/factory builds + #gh/Imagick/imagick#457 + +------------------------------------------------------------------- +Tue Nov 9 22:02:45 UTC 2021 - Arjen de Korte <suse+bu...@de-korte.org> + +- Upgrade to version 3.5.1 + - Better detection of appropriate OpenMP library to use, i.e. GCC + or Clang. + +------------------------------------------------------------------- Old: ---- imagick-3.5.0.tgz New: ---- imagick-3.5.1.tgz imagick-fix-457-ensure-format-is-always-lowercase.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php-imagick.spec ++++++ --- /var/tmp/diff_new_pack.M2NkTi/_old 2021-11-10 21:47:28.443838276 +0100 +++ /var/tmp/diff_new_pack.M2NkTi/_new 2021-11-10 21:47:28.443838276 +0100 @@ -1,5 +1,5 @@ # -# spec file for package php-imagick +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -31,7 +31,7 @@ %endif Name: %{php_name}-%{pkg_name} -Version: 3.5.0 +Version: 3.5.1 Release: 0 Summary: Wrapper to the ImageMagick library License: PHP-3.01 @@ -39,10 +39,13 @@ URL: https://pecl.php.net/package/imagick Source0: https://pecl.php.net/get/%{pkg_name}-%{version}.tgz Source1: php-%{pkg_name}-rpmlintrc +# SUSE: Make build reproduceable Patch0: imagick-reproducible.patch +# PATCH-FIX-UPSTREAM imagick-fix-457-ensure-format-is-always-lowercase.patch +Patch10: imagick-fix-457-ensure-format-is-always-lowercase.patch +BuildRequires: %{php_name}-devel >= 7.0.1 BuildRequires: ImageMagick-devel >= 6.5.3.10 BuildRequires: ghostscript-fonts-std -BuildRequires: %{php_name}-devel >= 7.0.1 BuildRequires: re2c Requires: php(api) = %{php_core_api} Requires: php(zend-abi) = %{php_zend_api} ++++++ imagick-3.5.0.tgz -> imagick-3.5.1.tgz ++++++ ++++ 110092 lines of diff (skipped) ++++++ imagick-fix-457-ensure-format-is-always-lowercase.patch ++++++ >From 5cf94f5e119026325081f4e0253769d010e216e7 Mon Sep 17 00:00:00 2001 From: Remi Collet <r...@remirepo.net> Date: Mon, 20 Sep 2021 13:44:02 +0200 Subject: [PATCH] Fix #457 ensure format is always lowercase --- imagick.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imagick.c b/imagick.c index ac889118..ee725669 100644 --- a/imagick.c +++ b/imagick.c @@ -3388,6 +3388,7 @@ static zval *php_imagick_read_property(zend_object *object, zend_string *member, if (format) { retval = rv; ZVAL_STRING(retval, format); + php_strtolower(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); IMAGICK_FREE_MAGICK_MEMORY(format); } else { retval = rv; @@ -3460,6 +3461,7 @@ static zval *php_imagick_read_property(zval *object, zval *member, int type, voi if (format) { retval = rv; ZVAL_STRING(retval, format); + php_strtolower(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); IMAGICK_FREE_MAGICK_MEMORY(format); } else { retval = rv; @@ -3542,6 +3544,7 @@ static zval *php_imagick_read_property(zval *object, zval *member, int type, con if (format) { ZVAL_STRING(retval, format, 1); + php_strtolower(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); IMAGICK_FREE_MAGICK_MEMORY(format); } else { ZVAL_STRING(retval, "", 1);