summarylogtreecommitdiffstats
path: root/force_imagemagick6.patch
diff options
context:
space:
mode:
authorLukáš Jirkovský2018-04-01 20:17:41 +0200
committerLukáš Jirkovský2018-04-01 20:17:41 +0200
commit7fdefff1c4ea823c40494cc92a8087144d9abfde (patch)
tree461f330d09ae701035c989b5e216ec4230652bf2 /force_imagemagick6.patch
parentc79b9114e10fb54cd937994d1044ccaca70ab0c5 (diff)
downloadaur-7fdefff1c4ea823c40494cc92a8087144d9abfde.tar.gz
ensure the ImageMagick 7 is not picked inadvertently
Diffstat (limited to 'force_imagemagick6.patch')
-rw-r--r--force_imagemagick6.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/force_imagemagick6.patch b/force_imagemagick6.patch
new file mode 100644
index 000000000000..429ed267ca4a
--- /dev/null
+++ b/force_imagemagick6.patch
@@ -0,0 +1,12 @@
+diff -rup pfstools-2.1.0/CMakeLists.txt pfstools-2.1.0.new/CMakeLists.txt
+--- pfstools-2.1.0/CMakeLists.txt 2017-11-13 18:38:18.000000000 +0100
++++ pfstools-2.1.0.new/CMakeLists.txt 2018-04-01 20:11:54.324233991 +0200
+@@ -114,7 +114,7 @@ OPTION(WITH_ImageMagick "Use ImageMagick
+
+ if( WITH_ImageMagick )
+
+-find_package(ImageMagick COMPONENTS Magick++ MagickCore)
++find_package(ImageMagick 6 EXACT COMPONENTS Magick++ MagickCore)
+ if( NOT ImageMagick_FOUND )
+ MESSAGE( STATUS "ImageMagick not found. The following commands will not be
+ compiled: pfsinimgmagick pfsoutimgmagick pfsouthdrhtml. " )