commit:     188b6e6b54c9cfdbdc07c9a1c8abc80114d95808
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  5 04:13:44 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Aug  5 04:13:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=188b6e6b

net-im/profanity: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/932874
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 net-im/profanity/profanity-0.14.0-r2.ebuild | 7 ++++++-
 net-im/profanity/profanity-0.14.0.ebuild    | 9 ++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/net-im/profanity/profanity-0.14.0-r2.ebuild 
b/net-im/profanity/profanity-0.14.0-r2.ebuild
index 35dd499947ef..46cc7df80113 100644
--- a/net-im/profanity/profanity-0.14.0-r2.ebuild
+++ b/net-im/profanity/profanity-0.14.0-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-inherit python-single-r1
+inherit flag-o-matic python-single-r1
 
 DESCRIPTION="A console based XMPP client inspired by Irssi"
 HOMEPAGE="https://profanity-im.github.io";
@@ -77,6 +77,11 @@ pkg_setup() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/932874
+       # https://github.com/profanity-im/profanity/issues/1992
+       filter-lto
+
        local myeconfargs=(
                --enable-gdk-pixbuf
                $(use_enable libnotify notifications)

diff --git a/net-im/profanity/profanity-0.14.0.ebuild 
b/net-im/profanity/profanity-0.14.0.ebuild
index 1c3dbeb86ba2..78814bf326cd 100644
--- a/net-im/profanity/profanity-0.14.0.ebuild
+++ b/net-im/profanity/profanity-0.14.0.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit flag-o-matic
+
 DESCRIPTION="A console based XMPP client inspired by Irssi"
 HOMEPAGE="https://profanity-im.github.io";
 
SRC_URI="https://github.com/profanity-im/profanity/releases/download/${PV}/${P}.tar.gz";
@@ -47,6 +49,11 @@ DEPEND="
 "
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/932874
+       # https://github.com/profanity-im/profanity/issues/1992
+       filter-lto
+
        local myeconfargs=(
                --enable-gdk-pixbuf
                $(use_enable libnotify notifications)

Reply via email to