commit:     52e24d1ea822f809e6e51fe31a8e593711577179
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 27 05:27:44 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 27 05:54:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e24d1e

sci-visualization/kst: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/863296
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-visualization/kst/kst-2.0.8-r2.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/kst/kst-2.0.8-r2.ebuild 
b/sci-visualization/kst/kst-2.0.8-r2.ebuild
index d98d0d65c25d..6eea2097dbb3 100644
--- a/sci-visualization/kst/kst-2.0.8-r2.ebuild
+++ b/sci-visualization/kst/kst-2.0.8-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 MY_P=Kst-${PV}
-inherit cmake xdg-utils
+inherit cmake flag-o-matic xdg-utils
 
 DESCRIPTION="Fast real-time large-dataset viewing and plotting tool"
 HOMEPAGE="https://kst-plot.kde.org/ https://invent.kde.org/graphics/kst-plot";
@@ -50,6 +50,11 @@ PATCHES=(
 )
 
 src_configure() {
+       # -Werror=odr, -Werror=lto-type=-mismatch
+       # https://bugs.gentoo.org/863296
+       # https://bugs.kde.org/show_bug.cgi?id=484572
+       filter-lto
+
        local mycmakeargs=(
                -Dkst_install_libdir="$(get_libdir)"
                -Dkst_pch=OFF

Reply via email to