commit: 6708cbb7fc2c495fb9bd14dc974ad7e09f3f4a7f Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Thu Feb 29 04:21:46 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Feb 29 04:47:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6708cbb7
net-p2p/rtorrent: mark as LTO-unsafe Closes: https://bugs.gentoo.org/861848 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild | 7 ++++++- net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild | 9 +++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild index bc460bab122e..cc07aef717a8 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools linux-info systemd +inherit autotools flag-o-matic linux-info systemd DESCRIPTION="BitTorrent Client using libtorrent" HOMEPAGE="https://rakshasa.github.io/rtorrent/" @@ -56,6 +56,11 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/861848 + # https://github.com/rakshasa/rtorrent/issues/1264 + filter-lto + default # configure needs bash or script bombs out on some null shift, bug #291229 diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild index f2faf7732600..955a5c7770a9 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools linux-info systemd +inherit autotools flag-o-matic linux-info systemd DESCRIPTION="BitTorrent Client using libtorrent" HOMEPAGE="https://rakshasa.github.io/rtorrent/" @@ -57,6 +57,11 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/861848 + # https://github.com/rakshasa/rtorrent/issues/1264 + filter-lto + # configure needs bash or script bombs out on some null shift, bug #291229 CONFIG_SHELL=${BASH} econf \ $(use_enable debug) \
