From ebebc7aa5a935d075d0910e127f1d090710b8b8a Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Mon, 23 Jan 2017 09:55:24 +0100 Subject: [PATCH] media-video/cinelerra: Fix build with USE=-*; bug #606872. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- media-video/cinelerra/cinelerra-20150908.ebuild | 3 ++- media-video/cinelerra/files/cinelerra-includes.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 media-video/cinelerra/files/cinelerra-includes.patch diff --git a/media-video/cinelerra/cinelerra-20150908.ebuild b/media-video/cinelerra/cinelerra-20150908.ebuild index e31d0c4782ee..7dd447b31de9 100644 --- a/media-video/cinelerra/cinelerra-20150908.ebuild +++ b/media-video/cinelerra/cinelerra-20150908.ebuild @@ -68,7 +68,8 @@ src_prepare() { "${FILESDIR}"/${PN}-libav9.patch \ "${FILESDIR}"/${PN}-pngtoh.patch \ "${FILESDIR}"/${PN}-putbits-gcc52.patch \ - "${FILESDIR}"/${PN}-implicit_decls.patch + "${FILESDIR}"/${PN}-implicit_decls.patch \ + "${FILESDIR}"/${PN}-includes.patch if has_version '>=media-video/ffmpeg-2' ; then epatch "${FILESDIR}"/${PN}-ffmpeg2.patch diff --git a/media-video/cinelerra/files/cinelerra-includes.patch b/media-video/cinelerra/files/cinelerra-includes.patch new file mode 100644 index 000000000000..45ac200310da --- /dev/null +++ b/media-video/cinelerra/files/cinelerra-includes.patch @@ -0,0 +1,12 @@ +Index: CinelerraCV-2.3/cinelerra/audiodevice.C +=================================================================== +--- CinelerraCV-2.3.orig/cinelerra/audiodevice.C ++++ CinelerraCV-2.3/cinelerra/audiodevice.C +@@ -19,6 +19,7 @@ + * + */ + ++#include + #ifdef HAVE_FIREWIRE + #include "audio1394.h" + #endif -- 2.26.2