commit:     8fbc406e3fdc55d1e623ce2610f03a943d0d1e36
Author:     Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
AuthorDate: Sun Aug 21 19:13:20 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 05:23:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbc406e

net-irc/hexchat: Filter LTO flags

Workaround for LTO type mismatch issue until upstream applies
the fix for this issue [1].

[1] https://github.com/hexchat/hexchat/issues/2726

Closes: https://bugs.gentoo.org/861458
Signed-off-by: Adrian Schollmeyer <nex+b-g-o <AT> nexadn.de>
Closes: https://github.com/gentoo/gentoo/pull/26949
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/hexchat/{hexchat-9999.ebuild => hexchat-2.16.1-r1.ebuild} | 5 ++++-
 net-irc/hexchat/hexchat-9999.ebuild                               | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/net-irc/hexchat/hexchat-9999.ebuild 
b/net-irc/hexchat/hexchat-2.16.1-r1.ebuild
similarity index 95%
copy from net-irc/hexchat/hexchat-9999.ebuild
copy to net-irc/hexchat/hexchat-2.16.1-r1.ebuild
index 06de44ed5d3d..a47f759179d2 100644
--- a/net-irc/hexchat/hexchat-9999.ebuild
+++ b/net-irc/hexchat/hexchat-2.16.1-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 LUA_COMPAT=( lua5-{1..4} luajit )
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit lua-single meson mono-env python-single-r1 xdg
+inherit flag-o-matic lua-single meson mono-env python-single-r1 xdg
 
 DESCRIPTION="Graphical IRC client based on XChat"
 HOMEPAGE="https://hexchat.github.io/";
@@ -75,6 +75,9 @@ pkg_setup() {
 }
 
 src_configure() {
+       # LTO type mismatch, https://bugs.gentoo.org/861458
+       filter-lto
+
        local emesonargs=(
                -Ddbus-service-use-appid=false
                -Dinstall-appdata=false

diff --git a/net-irc/hexchat/hexchat-9999.ebuild 
b/net-irc/hexchat/hexchat-9999.ebuild
index 06de44ed5d3d..a47f759179d2 100644
--- a/net-irc/hexchat/hexchat-9999.ebuild
+++ b/net-irc/hexchat/hexchat-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 LUA_COMPAT=( lua5-{1..4} luajit )
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit lua-single meson mono-env python-single-r1 xdg
+inherit flag-o-matic lua-single meson mono-env python-single-r1 xdg
 
 DESCRIPTION="Graphical IRC client based on XChat"
 HOMEPAGE="https://hexchat.github.io/";
@@ -75,6 +75,9 @@ pkg_setup() {
 }
 
 src_configure() {
+       # LTO type mismatch, https://bugs.gentoo.org/861458
+       filter-lto
+
        local emesonargs=(
                -Ddbus-service-use-appid=false
                -Dinstall-appdata=false

Reply via email to