diff --git a/sci-libs/scotch/files/scotch-7.0.1-fixtest.patch b/sci-libs/scotch/files/scotch-7.0.1-fixtest.patch new file mode 100644 index 0000000000000..f86ee0ddd4a27 --- /dev/null +++ b/sci-libs/scotch/files/scotch-7.0.1-fixtest.patch @@ -0,0 +1,11 @@ +--- a/src/check/Makefile 2026-05-31 21:22:26.421017889 +0200 ++++ b/src/check/Makefile 2026-05-31 21:22:57.352697002 +0200 +@@ -368,7 +368,7 @@ + + check_scotch_graph_dump : test_scotch_graph_dump2 + $(EXECS) ./test_scotch_graph_dump2 $(TMPDIR)/m16x16_b1.grf +- $(PROGDIFF) "data/bump_b1.grf" "$(TMPDIR)/bump_b1.grf" ++ $(PROGDIFF) "data/m16x16_b1.grf" "$(TMPDIR)/m16x16_b1.grf" + + test_scotch_graph_dump2 : test_scotch_graph_dump2.c \ + $(SCOTCHLIBDIR)/libscotch$(LIB) diff --git a/sci-libs/scotch/scotch-7.0.1-r1.ebuild b/sci-libs/scotch/scotch-7.0.1-r1.ebuild index 9d70e7c9b4102..2c4c5a6fd1452 100644 --- a/sci-libs/scotch/scotch-7.0.1-r1.ebuild +++ b/sci-libs/scotch/scotch-7.0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,6 +25,8 @@ DEPEND=" mpi? ( virtual/mpi )" RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}"/${P}-fixtest.patch ) + static_to_shared() { local libstatic=${1}; shift local libname=$(basename ${libstatic%.a}) diff --git a/sci-libs/scotch/scotch-7.0.8.ebuild b/sci-libs/scotch/scotch-7.0.8.ebuild index 220c981d74634..f4a60aa37ae5c 100644 --- a/sci-libs/scotch/scotch-7.0.8.ebuild +++ b/sci-libs/scotch/scotch-7.0.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,6 +25,8 @@ DEPEND=" mpi? ( virtual/mpi )" RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}"/${PN}-7.0.1-fixtest.patch ) + static_to_shared() { local libstatic=${1}; shift local libname=$(basename ${libstatic%.a})