commit:     56692e74e1ca84863bfb0fb5e9ea2c5191ad6f78
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar  4 00:06:43 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 04:14:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56692e74

dev-libs/libgnt: mark as LTO-unsafe

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

 dev-libs/libgnt/libgnt-2.14.3.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libgnt/libgnt-2.14.3.ebuild 
b/dev-libs/libgnt/libgnt-2.14.3.ebuild
index e69ee9d06634..04d2ce3f3f6b 100644
--- a/dev-libs/libgnt/libgnt-2.14.3.ebuild
+++ b/dev-libs/libgnt/libgnt-2.14.3.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=8
 
-inherit meson
+inherit flag-o-matic meson
 
 DESCRIPTION="Pidgin's GLib Ncurses Toolkit"
 HOMEPAGE="https://keep.imfreedom.org/libgnt/libgnt";
@@ -32,6 +32,11 @@ PATCHES=(
 )
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/855872
+       # https://issues.imfreedom.org/issue/LIBGNT-19/Build-fails-with-LTO
+       filter-lto
+
        local emesonargs=(
                -Dpython2=false
                $(meson_use doc)

Reply via email to