commit:     681f94760646bda2d7089ed485a6dbe985b97def
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 17 08:40:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 08:42:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=681f9476

sci-libs/stellarsolver: filter LTO

I haven't reported this upstream because I can't even build it with GCC 14
(bug #886465).

Bug: https://bugs.gentoo.org/886465
Closes: https://bugs.gentoo.org/862930
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/sci-libs/stellarsolver/stellarsolver-2.5.ebuild 
b/sci-libs/stellarsolver/stellarsolver-2.5.ebuild
index 1473c730ee95..c7e235ccd58b 100644
--- a/sci-libs/stellarsolver/stellarsolver-2.5.ebuild
+++ b/sci-libs/stellarsolver/stellarsolver-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=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="Cross-platform Sextractor and Astrometry.net-Based internal 
astrometric solver"
 HOMEPAGE="https://github.com/rlancaste/stellarsolver";
@@ -25,3 +25,10 @@ RDEPEND="
        sci-astronomy/wcslib:=
 "
 DEPEND="${RDEPEND}"
+
+src_configure() {
+       # bug #862930
+       filter-lto
+
+       cmake_src_configure
+}

Reply via email to