1 |
commit: 9043667c3f03113d9bed94fc64132e2519b17657 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 6 04:57:26 2020 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 6 04:57:26 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9043667c |
7 |
|
8 |
media-sound/audacity: fixed compilation wrt portaudio in 2.4.2-r1 |
9 |
|
10 |
patch by Matt Whitlock <gentoo <AT> mattwhitlock.name> |
11 |
|
12 |
Closes: https://bugs.gentoo.org/735810 |
13 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
14 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
15 |
|
16 |
media-sound/audacity/audacity-2.4.2-r1.ebuild | 1 + |
17 |
.../files/audacity-2.4.2-add-missing-include-portaudio.patch | 11 +++++++++++ |
18 |
2 files changed, 12 insertions(+) |
19 |
|
20 |
diff --git a/media-sound/audacity/audacity-2.4.2-r1.ebuild b/media-sound/audacity/audacity-2.4.2-r1.ebuild |
21 |
index 4f3f3dae4ec..e55b34a8ae8 100644 |
22 |
--- a/media-sound/audacity/audacity-2.4.2-r1.ebuild |
23 |
+++ b/media-sound/audacity/audacity-2.4.2-r1.ebuild |
24 |
@@ -62,6 +62,7 @@ PATCHES=( |
25 |
"${FILESDIR}/${P}-fix-vertical-track-resizing.patch" |
26 |
"${FILESDIR}/${P}-fix-gettimeofday.patch" |
27 |
"${FILESDIR}/${P}-fix-metainfo.patch" |
28 |
+ "${FILESDIR}/${P}-add-missing-include-portaudio.patch" |
29 |
) |
30 |
|
31 |
src_prepare() { |
32 |
|
33 |
diff --git a/media-sound/audacity/files/audacity-2.4.2-add-missing-include-portaudio.patch b/media-sound/audacity/files/audacity-2.4.2-add-missing-include-portaudio.patch |
34 |
new file mode 100644 |
35 |
index 00000000000..7b845bc3181 |
36 |
--- /dev/null |
37 |
+++ b/media-sound/audacity/files/audacity-2.4.2-add-missing-include-portaudio.patch |
38 |
@@ -0,0 +1,11 @@ |
39 |
+diff -Naur a/src/AudioIOBase.cpp b/src/AudioIOBase.cpp |
40 |
+--- a/src/AudioIOBase.cpp 2020-06-19 15:16:47.000000000 +0000 |
41 |
++++ b/src/AudioIOBase.cpp 2020-08-04 19:43:27.985734707 +0000 |
42 |
+@@ -21,6 +21,7 @@ |
43 |
+ #include "prefs/RecordingPrefs.h" |
44 |
+ #include "widgets/MeterPanelBase.h" |
45 |
+ |
46 |
++#include "portaudio.h" |
47 |
+ #if USE_PORTMIXER |
48 |
+ #include "portmixer.h" |
49 |
+ #endif |