commit:     69610a28c8712d4fab37f7789e0657f8ac5cc851
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 15 04:17:50 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 04:20:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69610a28

sys-block/scsirastools: mark as LTO-unsafe

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

 sys-block/scsirastools/scsirastools-1.6.6.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/sys-block/scsirastools/scsirastools-1.6.6.ebuild 
b/sys-block/scsirastools/scsirastools-1.6.6.ebuild
index 5ca7a0c6e0ba..2cdf84d61ab4 100644
--- a/sys-block/scsirastools/scsirastools-1.6.6.ebuild
+++ b/sys-block/scsirastools/scsirastools-1.6.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Serviceability for SCSI Disks and Arrays"
 HOMEPAGE="http://scsirastools.sourceforge.net/";
@@ -30,6 +30,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/863719
+       # Upstream sourceforge; dead for 6 years; no bug filed.
+       filter-lto
+
        econf --sbindir=/usr/sbin
 }
 

Reply via email to