How about that?
If we drop the 2.x version, VTK will use the bundled pegtl library, as long as they don't have updated to 3.x. IIRC I tried to disable it some time ago, but it didn't work out. So, IMO VTK needs this library, even when build without any USE flags set.
The test failure didn't seem to come up in bug 899470.
See also https://gitlab.kitware.com/vtk/vtk/-/issues/18151 for an issue to update to pegtl-3.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0167fc77186716079471d895b32b2283ca8b7fc4 commit 0167fc77186716079471d895b32b2283ca8b7fc4 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2023-07-06 14:26:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-10 12:41:01 +0000 sci-libs/vtk: add 9.3.0 Closes: https://bugs.gentoo.org/918898 Closes: https://bugs.gentoo.org/909520 Closes: https://bugs.gentoo.org/909380 Closes: https://bugs.gentoo.org/908874 Closes: https://bugs.gentoo.org/906264 Closes: https://bugs.gentoo.org/906075 Closes: https://bugs.gentoo.org/887505 Closes: https://bugs.gentoo.org/840776 Closes: https://bugs.gentoo.org/835659 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34432 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/vtk/Manifest | 6 + sci-libs/vtk/files/vtk-9.2.5-pegtl-3.x.patch | 136 +++ ...ix-Java-error-with-integer-enum-overloads.patch | 51 ++ sci-libs/vtk/files/vtk-9.3.0-java.patch | 11 + sci-libs/vtk/files/vtk-9.3.0-opencascade.patch | 17 + sci-libs/vtk/files/vtk-9.3.0-pdal-2.6.0.patch | 77 ++ .../vtk-9.3.0-too-many-initializer-values.patch | 20 + sci-libs/vtk/metadata.xml | 1 + sci-libs/vtk/vtk-9.3.0.ebuild | 909 +++++++++++++++++++++ 9 files changed, 1228 insertions(+)