summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-02-21 11:42:32 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-02-21 12:08:50 +0100
commit18dbd4fcf1bca48ad8b368346bfe73e2f2f40f02 (patch)
treea3175df1defba2ec278a85e560283d37d0fc9849 /media-sound/audacity/audacity-2.2.2.ebuild
parentnet-mail/mailman: Version bump. (diff)
downloadgentoo-18dbd4fcf1bca48ad8b368346bfe73e2f2f40f02.tar.gz
gentoo-18dbd4fcf1bca48ad8b368346bfe73e2f2f40f02.tar.bz2
gentoo-18dbd4fcf1bca48ad8b368346bfe73e2f2f40f02.zip
media-sound/audacity: Fixed compilation with USE="-midi"
Thanks to Matt Whitlock for providing the initial patch. Closes: https://bugs.gentoo.org/637110 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-sound/audacity/audacity-2.2.2.ebuild')
-rw-r--r--media-sound/audacity/audacity-2.2.2.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/media-sound/audacity/audacity-2.2.2.ebuild b/media-sound/audacity/audacity-2.2.2.ebuild
index af62f464499f..cb2b8ea861f4 100644
--- a/media-sound/audacity/audacity-2.2.2.ebuild
+++ b/media-sound/audacity/audacity-2.2.2.ebuild
@@ -49,6 +49,14 @@ REQUIRED_USE="soundtouch? ( midi )"
S="${WORKDIR}/${MY_P}-rc1"
+PATCHES=(
+ "${FILESDIR}/${PN}-2.2.2-midi.patch"
+)
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+}
+
src_configure() {
local WX_GTK_VER="3.0"
need-wxwidgets unicode