diff options
author | Michael Weber <xmw@gentoo.org> | 2017-05-25 21:43:09 +0200 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2017-05-25 21:43:36 +0200 |
commit | fb5c529a39bb80573cbd2c71e5ec5cb4c73a9b98 (patch) | |
tree | 74365eba2ca54ee3fc019d99da7e901efb8cc32b /media-video | |
parent | bc5f839c07cc1e9bbe2b9bf1ee72511dbc4b3a94 (diff) | |
download | gentoo-fb5c529a39bb80573cbd2c71e5ec5cb4c73a9b98.tar.gz gentoo-fb5c529a39bb80573cbd2c71e5ec5cb4c73a9b98.tar.xz |
media-video/dcpomatic: Fix for ImageMagick-7.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/dcpomatic/dcpomatic-2.10.2.ebuild | 4 | ||||
-rw-r--r-- | media-video/dcpomatic/files/dcpomatic-2.10.2-imagemagick-7.patch | 18 |
2 files changed, 22 insertions, 0 deletions
diff --git a/media-video/dcpomatic/dcpomatic-2.10.2.ebuild b/media-video/dcpomatic/dcpomatic-2.10.2.ebuild index 637661d1af0..9cd6b2365fe 100644 --- a/media-video/dcpomatic/dcpomatic-2.10.2.ebuild +++ b/media-video/dcpomatic/dcpomatic-2.10.2.ebuild @@ -85,6 +85,10 @@ src_prepare() { -e '/film_metadata_test.cc/d' \ -i test/wscript || die + if has_version ">media-gfx/imagemagick-7" ; then + epatch "${FILESDIR}"/${PN}-2.10.2-imagemagick-7.patch + fi + default } diff --git a/media-video/dcpomatic/files/dcpomatic-2.10.2-imagemagick-7.patch b/media-video/dcpomatic/files/dcpomatic-2.10.2-imagemagick-7.patch new file mode 100644 index 00000000000..2e4e9e8838e --- /dev/null +++ b/media-video/dcpomatic/files/dcpomatic-2.10.2-imagemagick-7.patch @@ -0,0 +1,18 @@ +--- dcpomatic-2.10.2/src/lib/environment_info.cc ++++ dcpomatic-2.10.2/src/lib/environment_info.cc +@@ -25,12 +25,13 @@ + #include <dcp/version.h> + #include <libssh/libssh.h> + #ifdef DCPOMATIC_IMAGE_MAGICK +-#include <magick/MagickCore.h> ++#include <MagickCore/MagickCore.h> ++#include <MagickCore/version.h> + #else + #include <magick/common.h> + #include <magick/magick_config.h> +-#endif + #include <magick/version.h> ++#endif + extern "C" { + #include <libavcodec/avcodec.h> + #include <libavformat/avformat.h> |