From c6c81669c9bc90c22b1ca7d842eed1f299efd99b Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 24 Dec 2024 05:03:24 +0000 Subject: [PATCH] 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 --- 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 53c5981cf91ed..c8152c2d8d281 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