commit: efd1a1f09c5c37ee32ea6e1185a0d10305097ff6 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Thu Feb 29 22:29:27 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Feb 29 23:57:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd1a1f0
app-text/pspdftool: mark LTO-unsafe, mark strict-aliasing unsafe The software is: - dead upstream since 2015 - maintainer-needed in gentoo - no reverse dependencies - unstable-only - a walking strict-aliasing problem It's not getting fixed any time soon, and there's nowhere to report its issues, so just filter out the most dangerous flags and pray nothing explodes. Closes: https://bugs.gentoo.org/855023 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> app-text/pspdftool/pspdftool-0.03.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app-text/pspdftool/pspdftool-0.03.ebuild b/app-text/pspdftool/pspdftool-0.03.ebuild index 5dff5b9d0d33..97d533be413d 100644 --- a/app-text/pspdftool/pspdftool-0.03.ebuild +++ b/app-text/pspdftool/pspdftool-0.03.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Tool for prepress preparation of PDF and PostScript documents" HOMEPAGE="https://sourceforge.net/projects/pspdftool" @@ -24,6 +24,12 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing; do not trust for LTO-safety either. + # https://bugs.gentoo.org/855023 + # Upstream is dead for nearly a decade. Not forwarded. + append-flags -fno-strict-aliasing + filter-lto + econf $(use_with zlib) }
