Add patch to fix FTBFS

This commit is contained in:
Sandro Mani 2025-01-26 00:05:45 +01:00
commit eeaedd55ea
2 changed files with 14 additions and 0 deletions

12
vtk-build.patch Normal file
View file

@ -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<T_, d_, A_>& 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.

View file

@ -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/