commit:     4f655979b2d85a4bda4d0b3e6bdce9148bb649cd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 07:32:26 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 07:32:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f655979

app-text/texlive-core: filter LTO, no-SA for 2021

Not doing 2023 as not tested it yet. 2021 at least has a type mismatch
failure in some pascal to C thing (p2c) and there's also aliasing violations
in utils/pmx.

We should report these upstream as Karl is very nice & accommodating but no
point in doing so with an old TL.

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

 app-text/texlive-core/texlive-core-2021-r7.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app-text/texlive-core/texlive-core-2021-r7.ebuild 
b/app-text/texlive-core/texlive-core-2021-r7.ebuild
index 68649d08130a..bd89b0fca8e3 100644
--- a/app-text/texlive-core/texlive-core-2021-r7.ebuild
+++ b/app-text/texlive-core/texlive-core-2021-r7.ebuild
@@ -181,6 +181,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # TODO: report upstream
+       # bug #915223
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        # It fails on alpha without this
        use alpha && append-ldflags "-Wl,--no-relax"
 

Reply via email to