commit:     375183c550610e3dd9ea8bcd65f756aa2dc2e983
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 24 06:24:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 06:56:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=375183c5

sci-libs/ta-lib: mark as LTO-unsafe

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

 sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild 
b/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild
index 600814664e17..77a8dd512532 100644
--- a/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild
+++ b/sci-libs/ta-lib/ta-lib-0.4.0-r1.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="Technical Analysis Library for analyzing financial markets trends"
 HOMEPAGE="https://www.ta-lib.org/";
@@ -26,6 +26,15 @@ src_prepare() {
        eautoreconf
 }
 
+src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/862936
+       # Upstream is sourceforge plus has not been active since 2013. No bug 
filed.
+       filter-lto
+
+       default
+}
+
 src_test() {
        src/tools/ta_regtest/ta_regtest || die
 }

Reply via email to