commit: 14ca3a5d1eb39f8b190fbb20a85900f8571ef626 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Sun Mar 17 03:55:53 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Mar 17 05:28:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14ca3a5d
www-client/otter: mark as LTO-unsafe Seemingly fixed upstream in git. Closes: https://bugs.gentoo.org/864130 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> www-client/otter/otter-1.0.03.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/www-client/otter/otter-1.0.03.ebuild b/www-client/otter/otter-1.0.03.ebuild index c17ffe24bc75..aeba9a206ba9 100644 --- a/www-client/otter/otter-1.0.03.ebuild +++ b/www-client/otter/otter-1.0.03.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake desktop xdg +inherit cmake desktop flag-o-matic xdg if [[ ${PV} == 9999* ]] ; then EGIT_REPO_URI="https://github.com/OtterBrowser/${PN}-browser" @@ -47,6 +47,14 @@ PATCHES=( ) src_prepare() { + # -Werror=odr, -Werror=lto-type-mismatch + # https://bugs.gentoo.org/864130 + # + # Compiles fine with otter-9999, BUT new versions are being tagged from a + # maintenance branch, not from master, so do check before trying to remove + # this. + filter-lto + cmake_src_prepare if [[ -n ${LINGUAS} ]]; then
