summaryrefslogtreecommitdiffstats
path: root/php-pecl-imagick.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-04-16 09:32:15 +0200
committerRemi Collet <remi@remirepo.net>2019-04-16 09:32:15 +0200
commit9c4e6956c0677cb377b008e990f99f92751b9497 (patch)
tree513ed60eb0af344ebfc0908c86f43ec44d9e3f1f /php-pecl-imagick.spec
parenta43a6790d5063ce8cca96c93f6a1aaa661cb8ab6 (diff)
open https://github.com/mkoppanen/imagick/pull/278 fix NTS build
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