commit:     3e255fb3f9352a6662923b47114ad8d7cc4f4e35
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  5 03:21:38 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 04:47:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e255fb3

sci-electronics/xoscope: mark as LTO-unsafe

Upstream is:
- sourceforge
- inactive for 3 years

I did not bother to report a bug as it seems all pain, no gain.

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

 sci-electronics/xoscope/xoscope-2.3.ebuild | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/sci-electronics/xoscope/xoscope-2.3.ebuild 
b/sci-electronics/xoscope/xoscope-2.3.ebuild
index 69434a3f9cfc..59831c2b3e22 100644
--- a/sci-electronics/xoscope/xoscope-2.3.ebuild
+++ b/sci-electronics/xoscope/xoscope-2.3.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
+inherit autotools flag-o-matic linux-info
 
 DESCRIPTION="Soundcard Oscilloscope for X"
 HOMEPAGE="http://xoscope.sourceforge.net";
@@ -32,3 +32,12 @@ src_prepare() {
        default
        eautoreconf
 }
+
+src_compile() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/878065
+       # Upstream is a) sourceforge, b) inactive for 3 years. Bug not reported.
+       filter-lto
+
+       default
+}

Reply via email to