summarylogtreecommitdiffstats
path: root/gem-magick6-fixes.patch
diff options
context:
space:
mode:
authorAlbert Graef2018-01-03 11:33:22 +0100
committerAlbert Graef2018-01-03 11:33:22 +0100
commit07d5969a400127ba445b1b8ce7306f156d977e57 (patch)
treeb6641faee51765887e8082b6f1b88fb8dfeb49b1 /gem-magick6-fixes.patch
parent650566d748bf6df63073f245bcad93bc5c408449 (diff)
downloadaur-07d5969a400127ba445b1b8ce7306f156d977e57.tar.gz
Fix up ImageMagick dependency (Gem needs libmagick6).
Diffstat (limited to 'gem-magick6-fixes.patch')
-rw-r--r--gem-magick6-fixes.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/gem-magick6-fixes.patch b/gem-magick6-fixes.patch
new file mode 100644
index 000000000000..6f1eb8abe5f1
--- /dev/null
+++ b/gem-magick6-fixes.patch
@@ -0,0 +1,15 @@
+diff --git a/externals/Makefile b/externals/Makefile
+index e60a73c9..09066109 100644
+--- a/externals/Makefile
++++ b/externals/Makefile
+@@ -658,6 +658,10 @@ $(gem_src)/Gem.pd_linux: $(gem_src)/configure
+ test -s $(gem_src)/Gem.pd_linux || \
+ cd $(gem_src) && ./configure \
+ CXXFLAGS="-DHAVE_S_STUFF_H" \
++ PKG_IMAGEMAGICK___CFLAGS="$(shell pkg-config --cflags ImageMagick-6.Q16HDRI)" \
++ PKG_IMAGEMAGICK___LIBS="$(shell pkg-config --libs ImageMagick-6.Q16HDRI)" \
++ PKG_MAGICKCORE_CFLAGS="$(shell pkg-config --cflags MagickCore-6.Q16HDRI)" \
++ PKG_MAGICKCORE_LIBS="$(shell pkg-config --libs MagickCore-6.Q16HDRI)" \
+ --prefix=$(prefix) \
+ --with-video=plugins \
+ --with-film=plugins \