commit:     ced28b1a08788e1945c90d033dacaac8c7b6fe73
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  9 05:11:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 05:15:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced28b1a

app-cdr/cdrdao: build w/ -std=gnu17

We already pass -std=c++11 for C++ and we had to backport other fixes
anyway which haven't even been merged upstream yet, so just do the
workaround.

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

 app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild 
b/app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild
index 1b2a6179da52..76fbf3386cd1 100644
--- a/app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild
+++ b/app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -41,6 +41,8 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #943909
+       append-cflags -std=gnu17
        append-cxxflags -std=c++11
 
        filter-lto # https://bugs.gentoo.org/854219

Reply via email to