diff --git a/net-im/profanity/profanity-0.14.0-r2.ebuild b/net-im/profanity/profanity-0.14.0-r2.ebuild index 35dd499947efa..46cc7df801133 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 1c3dbeb86ba24..78814bf326cdc 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)