]> git.pld-linux.org Git - packages/php-pecl-imagick.git/commitdiff
- fix building witrh ImageMagick 6.8.x auto/th/php-pecl-imagick-3.0.1-5
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 13 Jun 2013 08:05:25 +0000 (10:05 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 13 Jun 2013 08:05:25 +0000 (10:05 +0200)
- rel 5

ImageMagick-6.8.patch [new file with mode: 0644]
php-pecl-imagick.spec

diff --git a/ImageMagick-6.8.patch b/ImageMagick-6.8.patch
new file mode 100644 (file)
index 0000000..8772dc9
--- /dev/null
@@ -0,0 +1,13 @@
+--- php-pecl-imagick-3.0.1/config.m4~  2010-11-18 22:16:01.000000000 +0100
++++ php-pecl-imagick-3.0.1/config.m4   2013-06-13 10:04:07.872529471 +0200
+@@ -52,8 +52,8 @@
+   else        
+     AC_MSG_CHECKING(for MagickWand.h header file)
+-    if test -r $WAND_DIR/include/ImageMagick/wand/MagickWand.h; then
+-      AC_MSG_RESULT(found in $WAND_DIR/include/ImageMagick/wand/MagickWand.h)
++    if test -r $WAND_DIR/include/ImageMagick-6/wand/MagickWand.h; then
++      AC_MSG_RESULT(found in $WAND_DIR/include/ImageMagick-6/wand/MagickWand.h)
+     else
+       AC_MSG_ERROR(Cannot locate header file MagickWand.h)
+     fi
index 87fed21541945e6b965a3649e3033b8d79be130a..875a1ee65caac926fbe2d02a0591a178c89f06d4 100644 (file)
@@ -6,11 +6,12 @@ Summary(pl.UTF-8):    %{modname} - PHP-owy wrapper do biblioteki Image Magick
 Name:          %{php_name}-pecl-%{modname}
 # NOTE: 3.1.x in DEVEL branch
 Version:       3.0.1
-Release:       4
+Release:       5
 License:       PHP 3.01
 Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: e2167713316639705202cf9b6cb1fdb1
+Patch0:                ImageMagick-6.8.patch
 URL:           http://pecl.php.net/package/imagick/
 BuildRequires: %{php_name}-devel >= 3:5.1.3
 BuildRequires: ImageMagick-devel >= 1:6.2.4.0
@@ -49,10 +50,12 @@ To rozszerzenie ma w PECL status: %{status}.
 %prep
 %setup -q -c
 mv %{modname}-%{version}/* .
+%patch0 -p1
 
 %build
 phpize
-%configure
+%configure \
+       php_cv_cc_dashr=false
 
 %{__make} \
        CFLAGS_CLEAN="%{rpmcflags}"
This page took 0.159524 seconds and 4 git commands to generate.