Cleanup and python 3.13
This commit is contained in:
15
sci-libs/vtk/files/vtk-9.3.0-opencascade.patch
Normal file
15
sci-libs/vtk/files/vtk-9.3.0-opencascade.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
From: https://gitlab.archlinux.org/archlinux/packaging/packages/vtk/-/blob/main/vtk-occt.patch
|
||||
From: Sven-Hendrik Haase <svenstaro@archlinux.org>
|
||||
--- a/IO/OCCT/vtkOCCTReader.h
|
||||
+++ b/IO/OCCT/vtkOCCTReader.h
|
||||
@@ -48,8 +48,8 @@ public:
|
||||
* It can be either STEP or IGES.
|
||||
* Default is FILE_FORMAT::STEP
|
||||
*/
|
||||
- VTK_DEPRECATED_IN_9_3_0("Use SetFormat with unsigned int instead.")
|
||||
- vtkSetEnumMacro(FileFormat, Format);
|
||||
+ // VTK_DEPRECATED_IN_9_3_0("Use SetFormat with unsigned int instead.")
|
||||
+ // vtkSetEnumMacro(FileFormat, Format);
|
||||
vtkSetClampMacro(FileFormat, unsigned int, Format::STEP, Format::IGES);
|
||||
///@}
|
||||
|
||||
Reference in New Issue
Block a user