commit:     a87729bb723f711645a76f11e124391efbc04da1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 24 05:05:12 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 24 05:05:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87729bb

media-sound/audacity: build w/ -std=gnu17

Closes: https://bugs.gentoo.org/944212
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/audacity/audacity-3.7.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-sound/audacity/audacity-3.7.1.ebuild 
b/media-sound/audacity/audacity-3.7.1.ebuild
index 40b53ca471bf..a91df7c11b12 100644
--- a/media-sound/audacity/audacity-3.7.1.ebuild
+++ b/media-sound/audacity/audacity-3.7.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 WX_GTK_VER="3.2-gtk3"
 
-inherit cmake wxwidgets xdg virtualx
+inherit cmake flag-o-matic wxwidgets xdg virtualx
 
 DESCRIPTION="Free crossplatform audio editor"
 HOMEPAGE="https://www.audacityteam.org/";
@@ -162,6 +162,9 @@ src_prepare() {
 src_configure() {
        setup-wxwidgets
 
+       # bug #944212
+       append-cflags -std=gnu17
+
        # * always use system libraries if possible
        # * USE_VST was omitted, it appears to no longer have dependencies
        #   (this is different from VST3)

Reply via email to