diff --git a/vtk-build.patch b/vtk-build.patch new file mode 100644 index 0000000..e1ab822 --- /dev/null +++ b/vtk-build.patch @@ -0,0 +1,12 @@ +diff -rupN VTK-9.2.6/Utilities/octree/octree/octree_node.txx VTK-9.2.6-new/Utilities/octree/octree/octree_node.txx +--- VTK-9.2.6/Utilities/octree/octree/octree_node.txx 2023-02-15 05:03:53.000000000 +0100 ++++ VTK-9.2.6-new/Utilities/octree/octree/octree_node.txx 2025-01-24 14:12:16.855255487 +0100 +@@ -207,7 +207,7 @@ const octree_node& octree_no + { + throw std::domain_error("Attempt to access children of an octree leaf node."); + } +- return this->_M_chilren[child]; ++ return this->m_children[child]; + } + + /**\brief Return a reference to a child node. diff --git a/vtk.spec b/vtk.spec index 6e0c5f2..56fc110 100644 --- a/vtk.spec +++ b/vtk.spec @@ -70,6 +70,8 @@ Patch2: vtk-include.patch # https://bugzilla.redhat.com/show_bug.cgi?id=2310520 # Backport of https://gitlab.kitware.com/vtk/vtk/-/merge_requests/11486 Patch3: vtk-python3.13.patch +# Fix build +Patch4: vtk-build.patch URL: https://vtk.org/