From 9c4e6956c0677cb377b008e990f99f92751b9497 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 16 Apr 2019 09:32:15 +0200 Subject: open https://github.com/mkoppanen/imagick/pull/278 fix NTS build --- php-pecl-imagick.spec | 3 +++ 1 file changed, 3 insertions(+) (limited to 'php-pecl-imagick.spec') diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec index f4fb294..bafec54 100644 --- a/php-pecl-imagick.spec +++ b/php-pecl-imagick.spec @@ -48,6 +48,7 @@ License: PHP URL: http://pecl.php.net/package/imagick Source1: https://raw.githubusercontent.com/mkoppanen/imagick/master/tests/functions.inc +Patch0: https://github.com/mkoppanen/imagick/pull/278.patch BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 5.4 @@ -160,6 +161,7 @@ fi cd NTS cp %{SOURCE1} tests/ +%patch0 -p1 -b .pr278 extver=$(sed -n '/#define PHP_IMAGICK_VERSION/{s/.* "//;s/".*$//;p}' php_imagick.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then @@ -315,6 +317,7 @@ cd ../ZTS - open https://github.com/mkoppanen/imagick/pull/274 missing file - open https://github.com/mkoppanen/imagick/issues/275 bad stabililty - open https://github.com/mkoppanen/imagick/issues/276 failed test on 32-bit +- open https://github.com/mkoppanen/imagick/pull/278 fix NTS build * Fri Mar 8 2019 Remi Collet - 3.4.3-15 - F30 build -- cgit