diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-01-23 09:55:24 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-01-23 09:55:24 +0100 |
commit | ebebc7aa5a935d075d0910e127f1d090710b8b8a (patch) | |
tree | 6abc935b0b2e73aad5b75b9ddc2a7fc1071fec3d /media-video | |
parent | sys-devel/llvm: Backport upstream Sphinx race fix to 3.9, #606858 (diff) | |
download | gentoo-ebebc7aa5a935d075d0910e127f1d090710b8b8a.tar.gz gentoo-ebebc7aa5a935d075d0910e127f1d090710b8b8a.tar.bz2 gentoo-ebebc7aa5a935d075d0910e127f1d090710b8b8a.zip |
media-video/cinelerra: Fix build with USE=-*; bug #606872.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/cinelerra/cinelerra-20150908.ebuild | 3 | ||||
-rw-r--r-- | media-video/cinelerra/files/cinelerra-includes.patch | 12 |
2 files changed, 14 insertions, 1 deletions
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 <cassert> + #ifdef HAVE_FIREWIRE + #include "audio1394.h" + #endif |