freecad: rebuild for vtk-9.3.1.
This commit is contained in:
parent
85e84d5b0b
commit
4e84a85f6b
|
@ -0,0 +1,32 @@
|
|||
diff --git a/src/3rdParty/salomesmesh/inc/SMESH_SMDS.hxx b/src/3rdParty/salomesmesh/inc/SMESH_SMDS.hxx
|
||||
index 7f89573efd..47a52fe585 100644
|
||||
--- a/src/3rdParty/salomesmesh/inc/SMESH_SMDS.hxx
|
||||
+++ b/src/3rdParty/salomesmesh/inc/SMESH_SMDS.hxx
|
||||
@@ -39,10 +39,6 @@
|
||||
#define SMDS_EXPORT
|
||||
#endif
|
||||
|
||||
-#ifdef VTK_HAS_MTIME_TYPE
|
||||
#define VTK_MTIME_TYPE vtkMTimeType
|
||||
-#else
|
||||
-#define VTK_MTIME_TYPE unsigned long
|
||||
-#endif
|
||||
|
||||
#endif
|
||||
diff --git a/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp b/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
|
||||
index 7e3de0070a..e9895d6157 100644
|
||||
--- a/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
|
||||
+++ b/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
|
||||
@@ -1026,7 +1026,12 @@ void SMDS_UnstructuredGrid::BuildLinks()
|
||||
GetLinks()->Allocate(this->GetNumberOfPoints());
|
||||
GetLinks()->Register(this);
|
||||
//FIXME: vtk9
|
||||
+ #if VTK_VERSION_NUMBER < VTK_VERSION_CHECK(9,3,0)
|
||||
GetLinks()->BuildLinks(this);
|
||||
+ #else
|
||||
+ GetLinks()->SetDataSet(this);
|
||||
+ GetLinks()->BuildLinks();
|
||||
+ #endif
|
||||
GetLinks()->Delete();
|
||||
#else
|
||||
this->Links = SMDS_CellLinks::New();
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'freecad'
|
||||
pkgname=freecad
|
||||
version=0.21.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_wrksrc="FreeCAD-${version}"
|
||||
build_style=cmake
|
||||
pycompile_dirs="usr/lib/${pkgname}/Mod"
|
||||
|
|
Loading…
Reference in New Issue