commit:     537d1d2023912f6115f4fce9aa3937d8966e76d9
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 20 12:47:24 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Nov 20 12:49:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=537d1d20

app-text/texlive-core: gcc-14 build workaround for 32bit arches

This is upstream recommendation for the moment, see also
https://www.tug.org/texlive/build.html
I'm fairly sure it just hides a real bug in pdftex, keeping 928096
thus open, but hey, at least it's not a regression...

Bug: https://bugs.gentoo.org/928096
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 app-text/texlive-core/texlive-core-2023-r10.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/app-text/texlive-core/texlive-core-2023-r10.ebuild 
b/app-text/texlive-core/texlive-core-2023-r10.ebuild
index 130e14e68150..d3b5e07d28f5 100644
--- a/app-text/texlive-core/texlive-core-2023-r10.ebuild
+++ b/app-text/texlive-core/texlive-core-2023-r10.ebuild
@@ -245,6 +245,13 @@ src_configure() {
        append-flags -fno-strict-aliasing
        filter-lto
 
+       # Needed for 32bit architectures, bug 928096
+       # This is upstream recommendation for the moment, see also
+       # https://www.tug.org/texlive/build.html
+       # I'm fairly sure it just hides a real bug in pdftex, keeping 928096
+       # thus open, but hey, at least it's not a regression...
+       append-cflags -Wno-incompatible-pointer-types
+
        # It fails on alpha without this
        use alpha && append-ldflags "-Wl,--no-relax"
 

Reply via email to