From 46955f06d42baefe2931c8fd89cd34172e2d10f1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 17 Jul 2025 11:28:34 +0200 Subject: fix build with PHP 8.5.0alpha2 using patch from https://github.com/vitoc/gmagick/pull/59 --- php-pecl-gmagick.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'php-pecl-gmagick.spec') diff --git a/php-pecl-gmagick.spec b/php-pecl-gmagick.spec index 1a06a05..52b76db 100644 --- a/php-pecl-gmagick.spec +++ b/php-pecl-gmagick.spec @@ -26,13 +26,14 @@ Summary: Provides a wrapper to the GraphicsMagick library Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 13%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 14%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP-3.01 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{sources}.tgz Patch0: %{pecl_name}-php81.patch Patch1: %{pecl_name}-build.patch +Patch2: %{pecl_name}-php85.patch BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -70,6 +71,7 @@ sed -e 's/role="test"/role="src"/' \ pushd %{sources} %patch -P0 -p1 %patch -P1 -p1 +%patch -P2 -p1 pushd tests for i in $(grep -l test_constructor *phpt); do sed -e "s:test_constructor:${i/.phpt/}:" -i $i; done popd @@ -188,6 +190,10 @@ export TEST_PHP_ARGS="-n -d extension=$PWD/../ZTS/modules/%{pecl_name}.so" %changelog +* Thu Jul 17 2025 Remi Collet - 2.0.6~RC1-14 +- fix build with PHP 8.5.0alpha2 using patch from + https://github.com/vitoc/gmagick/pull/59 + * Wed Jul 9 2025 Remi Collet - 2.0.6~RC1-13 - rename temp files in test suite to improve parallelism -- cgit