commit:     4be86f0473bac479a77fb238d7259ddded7a5287
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  9 05:17:31 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 05:17:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4be86f04

dev-scheme/guile: build 3.0.10-r102 w/ -std=gnu17

The fix from bug #944029 seems insufficient and master has changed
a fair bit so I've not gone through commits to see if it's fixed there
yet.

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

 dev-scheme/guile/guile-3.0.10-r102.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-scheme/guile/guile-3.0.10-r102.ebuild 
b/dev-scheme/guile/guile-3.0.10-r102.ebuild
index 479ed6113c66..b8a32af274ce 100644
--- a/dev-scheme/guile/guile-3.0.10-r102.ebuild
+++ b/dev-scheme/guile/guile-3.0.10-r102.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="GNU Ubiquitous Intelligent Language for Extensions"
 HOMEPAGE="https://www.gnu.org/software/guile/";
@@ -64,6 +64,9 @@ src_configure() {
        # See bug #676468 (may be able to drop this if we adapt 
fix-32bit-BE.patch)?
        mv prebuilt/32-bit-big-endian{,.broken} || die
 
+       # bug #944029
+       append-cflags -std=gnu17
+
        local -a myconf=(
                --program-suffix="-${SLOT}"
                --infodir="${GUILE_INFODIR}"

Reply via email to