From 99dc1b4f413426dfde42805f427c1603839986ed Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Tue, 23 May 2017 10:54:30 +0200 Subject: media-libs/xine-lib: Fixed build with imagemagick-7 (bug #581820). Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch | 13 +++++++++++++ media-libs/xine-lib/xine-lib-1.2.8.ebuild | 4 ++++ 2 files changed, 17 insertions(+) create mode 100644 media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch (limited to 'media-libs/xine-lib') diff --git a/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch b/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch new file mode 100644 index 000000000000..34062222e32c --- /dev/null +++ b/media-libs/xine-lib/files/xine-lib-1.2.6-imagemagick7.patch @@ -0,0 +1,13 @@ +http://git.pld-linux.org/?p=packages/xine-lib.git;a=blob;f=imagemagick7.patch;h=d050323cdf509c9bb5f8edbad90084e8ce5c1b38;hb=HEAD + +--- xine-lib-1.2.6/src/video_dec/image.c ++++ xine-lib-1.2.6/src/video_dec/image.c +@@ -39,7 +39,7 @@ + #define LOG + */ + +-#include ++#include + #ifdef PACKAGE_NAME + #undef PACKAGE_BUGREPORT + #undef PACKAGE_NAME diff --git a/media-libs/xine-lib/xine-lib-1.2.8.ebuild b/media-libs/xine-lib/xine-lib-1.2.8.ebuild index 84c471c4b363..c2642d2f5c11 100644 --- a/media-libs/xine-lib/xine-lib-1.2.8.ebuild +++ b/media-libs/xine-lib/xine-lib-1.2.8.ebuild @@ -118,6 +118,10 @@ REQUIRED_USE="vidix? ( || ( X fbcon ) ) src_prepare() { default + if has_version '>=media-gfx/imagemagick-7.0.1.0' ; then + eapply "${FILESDIR}/${PN}-1.2.6-imagemagick7.patch" + fi + sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die eautoreconf -- cgit v1.2.3-65-gdbad