1 |
commit: ebebc7aa5a935d075d0910e127f1d090710b8b8a |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 23 08:55:24 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 23 08:55:24 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebebc7aa |
7 |
|
8 |
media-video/cinelerra: Fix build with USE=-*; bug #606872. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
media-video/cinelerra/cinelerra-20150908.ebuild | 3 ++- |
13 |
media-video/cinelerra/files/cinelerra-includes.patch | 12 ++++++++++++ |
14 |
2 files changed, 14 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/media-video/cinelerra/cinelerra-20150908.ebuild b/media-video/cinelerra/cinelerra-20150908.ebuild |
17 |
index e31d0c4..7dd447b 100644 |
18 |
--- a/media-video/cinelerra/cinelerra-20150908.ebuild |
19 |
+++ b/media-video/cinelerra/cinelerra-20150908.ebuild |
20 |
@@ -68,7 +68,8 @@ src_prepare() { |
21 |
"${FILESDIR}"/${PN}-libav9.patch \ |
22 |
"${FILESDIR}"/${PN}-pngtoh.patch \ |
23 |
"${FILESDIR}"/${PN}-putbits-gcc52.patch \ |
24 |
- "${FILESDIR}"/${PN}-implicit_decls.patch |
25 |
+ "${FILESDIR}"/${PN}-implicit_decls.patch \ |
26 |
+ "${FILESDIR}"/${PN}-includes.patch |
27 |
|
28 |
if has_version '>=media-video/ffmpeg-2' ; then |
29 |
epatch "${FILESDIR}"/${PN}-ffmpeg2.patch |
30 |
|
31 |
diff --git a/media-video/cinelerra/files/cinelerra-includes.patch b/media-video/cinelerra/files/cinelerra-includes.patch |
32 |
new file mode 100644 |
33 |
index 00000000..45ac200 |
34 |
--- /dev/null |
35 |
+++ b/media-video/cinelerra/files/cinelerra-includes.patch |
36 |
@@ -0,0 +1,12 @@ |
37 |
+Index: CinelerraCV-2.3/cinelerra/audiodevice.C |
38 |
+=================================================================== |
39 |
+--- CinelerraCV-2.3.orig/cinelerra/audiodevice.C |
40 |
++++ CinelerraCV-2.3/cinelerra/audiodevice.C |
41 |
+@@ -19,6 +19,7 @@ |
42 |
+ * |
43 |
+ */ |
44 |
+ |
45 |
++#include <cassert> |
46 |
+ #ifdef HAVE_FIREWIRE |
47 |
+ #include "audio1394.h" |
48 |
+ #endif |