summarylogtreecommitdiffstats
path: root/gem-magick6-fixes.patch
diff options
context:
space:
mode:
authorAlbert Graef2018-01-03 11:14:51 +0100
committerAlbert Graef2018-01-03 11:14:51 +0100
commit7fb5aa88f7407f1423564404ccb4f151ec9ee9b7 (patch)
treee03875132b78779b2cee3760ac91f916d269514a /gem-magick6-fixes.patch
parent88cf6289b09f2d03b0235e6c665e9bdc6851d768 (diff)
downloadaur-7fb5aa88f7407f1423564404ccb4f151ec9ee9b7.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 \