summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/cinelerra')
-rw-r--r--media-video/cinelerra/cinelerra-20150908.ebuild3
-rw-r--r--media-video/cinelerra/files/cinelerra-includes.patch12
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