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

app-text/texlive-core: build w/ -std=gnu17

I have drafts for some (not all yet) for TL for C23 porting. I need
to report this upstream still but ideally with a patch.

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

 app-text/texlive-core/texlive-core-2024-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-text/texlive-core/texlive-core-2024-r1.ebuild 
b/app-text/texlive-core/texlive-core-2024-r1.ebuild
index 53c5981cf91e..c8152c2d8d28 100644
--- a/app-text/texlive-core/texlive-core-2024-r1.ebuild
+++ b/app-text/texlive-core/texlive-core-2024-r1.ebuild
@@ -245,6 +245,9 @@ src_configure() {
        append-flags -fno-strict-aliasing
        filter-lto
 
+       # bug #946142
+       append-flags -std=gnu17
+
        # Needed for 32bit architectures, bug 928096
        # This is upstream recommendation for the moment, see also
        # https://www.tug.org/texlive/build.html

Reply via email to