summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-08-06 06:57:26 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-08-06 06:57:26 +0200
commit9043667c3f03113d9bed94fc64132e2519b17657 (patch)
tree7f0ce9ebb7f7e27426908334354343102034fb71 /media-sound/audacity
parentsys-fs/udev: Stabilize 245.5 arm64, #736088 (diff)
downloadgentoo-9043667c3f03113d9bed94fc64132e2519b17657.tar.gz
gentoo-9043667c3f03113d9bed94fc64132e2519b17657.tar.bz2
gentoo-9043667c3f03113d9bed94fc64132e2519b17657.zip
media-sound/audacity: fixed compilation wrt portaudio in 2.4.2-r1
patch by Matt Whitlock <gentoo@mattwhitlock.name> Closes: https://bugs.gentoo.org/735810 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/audacity')
-rw-r--r--media-sound/audacity/audacity-2.4.2-r1.ebuild1
-rw-r--r--media-sound/audacity/files/audacity-2.4.2-add-missing-include-portaudio.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/audacity/audacity-2.4.2-r1.ebuild b/media-sound/audacity/audacity-2.4.2-r1.ebuild
index 4f3f3dae4ec0..e55b34a8ae81 100644
--- a/media-sound/audacity/audacity-2.4.2-r1.ebuild
+++ b/media-sound/audacity/audacity-2.4.2-r1.ebuild
@@ -62,6 +62,7 @@ PATCHES=(
"${FILESDIR}/${P}-fix-vertical-track-resizing.patch"
"${FILESDIR}/${P}-fix-gettimeofday.patch"
"${FILESDIR}/${P}-fix-metainfo.patch"
+ "${FILESDIR}/${P}-add-missing-include-portaudio.patch"
)
src_prepare() {
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
new file mode 100644
index 000000000000..7b845bc31817
--- /dev/null
+++ b/media-sound/audacity/files/audacity-2.4.2-add-missing-include-portaudio.patch
@@ -0,0 +1,11 @@
+diff -Naur a/src/AudioIOBase.cpp b/src/AudioIOBase.cpp
+--- a/src/AudioIOBase.cpp 2020-06-19 15:16:47.000000000 +0000
++++ b/src/AudioIOBase.cpp 2020-08-04 19:43:27.985734707 +0000
+@@ -21,6 +21,7 @@
+ #include "prefs/RecordingPrefs.h"
+ #include "widgets/MeterPanelBase.h"
+
++#include "portaudio.h"
+ #if USE_PORTMIXER
+ #include "portmixer.h"
+ #endif