[packages/ImageMagick] - restore indirect reads (@) + patch against broken configure.ac
adwol
adwol at pld-linux.org
Sun Jun 5 16:30:59 CEST 2016
commit 903079f15c9c379d0fe6ab31ded7486795df6385
Author: Adam Osuchowski <adwol at pld-linux.org>
Date: Sun Jun 5 16:29:46 2016 +0200
- restore indirect reads (@) + patch against broken configure.ac
ImageMagick-configure.patch | 11 +++++++++++
ImageMagick.spec | 5 ++++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/ImageMagick.spec b/ImageMagick.spec
index 5ebb864..585208e 100644
--- a/ImageMagick.spec
+++ b/ImageMagick.spec
@@ -33,7 +33,7 @@ Summary(tr.UTF-8): X altında resim gösterme, çevirme ve değişiklik yapma
Summary(uk.UTF-8): Перегляд, конвертування та обробка зображень під X Window
Name: ImageMagick
Version: %{ver}%{?pver:.%{pver}}
-Release: 1
+Release: 2
Epoch: 1
License: Apache-like
Group: X11/Applications/Graphics
@@ -44,6 +44,7 @@ Patch1: %{name}-link.patch
Patch2: %{name}-libpath.patch
Patch3: %{name}-ldflags.patch
Patch4: %{name}-lt.patch
+Patch5: %{name}-configure.patch
URL: http://www.imagemagick.org/
%{?with_opencl:BuildRequires: OpenCL-devel}
BuildRequires: OpenEXR-devel >= 1.0.6
@@ -663,6 +664,7 @@ Moduł kodera dla plików WMF.
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
find -type f | xargs grep -l '/usr/local/bin/perl' | xargs %{__sed} -i -e 's=!/usr/local/bin/perl=!%{__perl}='
@@ -681,6 +683,7 @@ touch www/Magick++/NEWS.html www/Magick++/ChangeLog.html
%{!?with_openmp:--disable-openmp} \
--disable-silent-rules \
--enable-fast-install \
+ --enable-indirect-reads \
%{__enable_disable hdri} \
--enable-shared \
--enable-static \
diff --git a/ImageMagick-configure.patch b/ImageMagick-configure.patch
new file mode 100644
index 0000000..68b6755
--- /dev/null
+++ b/ImageMagick-configure.patch
@@ -0,0 +1,11 @@
+--- ImageMagick-6.9.4-6.orig/configure.ac 2016-06-01 00:23:05.000000000 +0200
++++ ImageMagick-6.9.4-6/configure.ac 2016-06-05 16:06:31.718121600 +0200
+@@ -703,7 +703,7 @@
+ [enable_indirect_reads=$enableval],
+ [enable_indirect_reads='no'])
+
+-if test "$enable_indirect-reads" = 'yes'; then
++if test "$enable_indirect_reads" = 'yes'; then
+ AC_DEFINE(INDIRECT_READS_SUPPORT,1,[enable indirect reads (@) in filenames])
+ MAGICK_FEATURES="IndirectReads $MAGICK_FEATURES"
+ fi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ImageMagick.git/commitdiff/903079f15c9c379d0fe6ab31ded7486795df6385
More information about the pld-cvs-commit
mailing list