From 5402a160ed351421e9f80c5bb156a0ee51e2d3ff Mon Sep 17 00:00:00 2001 From: crueter Date: Mon, 20 Jul 2026 22:28:27 -0400 Subject: [PATCH] sci-libs/ceres-solver: add 2.2.0-r2 fixes compat with Eigen 5 Signed-off-by: crueter Part-of: https://github.com/gentoo/gentoo/pull/46598 Closes: https://github.com/gentoo/gentoo/pull/46598 Signed-off-by: Nowa Ammerlaan --- ...olver-2.2.0-r1.ebuild => ceres-solver-2.2.0-r2.ebuild} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename sci-libs/ceres-solver/{ceres-solver-2.2.0-r1.ebuild => ceres-solver-2.2.0-r2.ebuild} (91%) diff --git a/sci-libs/ceres-solver/ceres-solver-2.2.0-r1.ebuild b/sci-libs/ceres-solver/ceres-solver-2.2.0-r2.ebuild similarity index 91% rename from sci-libs/ceres-solver/ceres-solver-2.2.0-r1.ebuild rename to sci-libs/ceres-solver/ceres-solver-2.2.0-r2.ebuild index cc5315d3d6ab7..158208d7c7a3b 100644 --- a/sci-libs/ceres-solver/ceres-solver-2.2.0-r1.ebuild +++ b/sci-libs/ceres-solver/ceres-solver-2.2.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..15} ) DOCS_BUILDER="sphinx" DOCS_DEPEND="dev-python/sphinx-rtd-theme" DOCS_DIR="docs/source" @@ -60,6 +60,10 @@ src_prepare() { # remove Werror sed -e 's/-Werror=(all|extra)//g' \ -i CMakeLists.txt || die + + # fix compat with Eigen 5 + sed -i "s|Eigen3 3.3|Eigen3|g" CMakeLists.txt + sed -i "s|Eigen3 \${CERES_EIGEN_VERSION}|Eigen3|g" cmake/CeresConfig.cmake.in } src_configure() {