summaryrefslogtreecommitdiffstats
path: root/php-pecl-imagick.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-imagick.spec')
-rw-r--r--php-pecl-imagick.spec3
1 files changed, 3 insertions, 0 deletions
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 <remi@remirepo.net> - 3.4.3-15
- F30 build