commit:     e1f36785370b1f045a83f1f5b774f3a2db1d927a
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sun Jan 11 21:49:34 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 12 15:15:47 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f36785

media-fonts/unifont: build w/ -std=gnu17

It's properly fixed by upstream in newer versions

Bug: https://bugs.gentoo.org/946003
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/45341
Closes: https://github.com/gentoo/gentoo/pull/45341
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-fonts/unifont/unifont-14.0.03.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-fonts/unifont/unifont-14.0.03.ebuild 
b/media-fonts/unifont/unifont-14.0.03.ebuild
index a2a1f283d802..443d9d454b46 100644
--- a/media-fonts/unifont/unifont-14.0.03.ebuild
+++ b/media-fonts/unifont/unifont-14.0.03.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2003-2025 Gentoo Authors
+# Copyright 2003-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -34,7 +34,8 @@ src_compile() {
        buildargs=(
                BUILDFONT=$(usex fontforge 1 '')
                CC="$(tc-getCC)"
-               CFLAGS="${CFLAGS}"
+               # see bug #946003 for gnu17
+               CFLAGS="${CFLAGS} -std=gnu17"
                INSTALL="${INSTALL-install}"
        )
 

Reply via email to