commit:     26684e21a2a9dc4c7226d456f12293a33e964d13
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 13 22:18:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 00:10:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26684e21

sci-calculators/wcalc: mark as LTO-unsafe

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

 sci-calculators/wcalc/wcalc-2.5.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/sci-calculators/wcalc/wcalc-2.5.ebuild 
b/sci-calculators/wcalc/wcalc-2.5.ebuild
index e21f19c9610f..edb093739358 100644
--- a/sci-calculators/wcalc/wcalc-2.5.ebuild
+++ b/sci-calculators/wcalc/wcalc-2.5.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=7
 
-inherit autotools desktop
+inherit autotools desktop flag-o-matic
 
 DESCRIPTION="A flexible command-line scientific calculator"
 HOMEPAGE="http://w-calc.sourceforge.net/";
@@ -28,6 +28,13 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/862384
+       #
+       # Upstream is sourceforge. Last release in 2015, last activity 2021. Not
+       # submitting a bug report for now. -- Eli
+       filter-lto
+
        econf $(use_with readline)
 }
 

Reply via email to