commit:     7540cd2f4031823c381091e2bfe85222bdfe7686
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 14 19:14:54 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 19:20:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7540cd2f

media-radio/js8call: mark as LTO-unsafe

The issue tracker uses bitbucket, and the project hasn't seen activity
since 2020. With some effort and frustration I could interact with JIRA
to report the issue but it feels very unrewarding to do so if I don't
expect a response.

Sorry, JIRA lovers.

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

 media-radio/js8call/js8call-2.2.0-r1.ebuild | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/media-radio/js8call/js8call-2.2.0-r1.ebuild 
b/media-radio/js8call/js8call-2.2.0-r1.ebuild
index 08a55170fb78..027d99bc6d41 100644
--- a/media-radio/js8call/js8call-2.2.0-r1.ebuild
+++ b/media-radio/js8call/js8call-2.2.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit cmake vcs-snapshot
+inherit cmake flag-o-matic vcs-snapshot
 
 MY_P=${P/_/-}
 
@@ -32,6 +32,16 @@ RDEPEND="dev-qt/qtcore:5
        doc? ( dev-ruby/asciidoctor )"
 DEPEND="${RDEPEND}"
 
+src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/860411
+       #
+       # Upstream is on bitbucket, no activity since 2020.
+       filter-lto
+
+       cmake_src_configure
+}
+
 src_install() {
        cmake_src_install
        rm "${D}"/usr/bin/rigctl{,d}-local || die

Reply via email to