summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild')
-rw-r--r--sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild13
1 files 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
}