summaryrefslogtreecommitdiff
path: root/sci-libs/vtk/files/vtk-9.3.0-opencascade.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/vtk/files/vtk-9.3.0-opencascade.patch')
-rw-r--r--sci-libs/vtk/files/vtk-9.3.0-opencascade.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sci-libs/vtk/files/vtk-9.3.0-opencascade.patch b/sci-libs/vtk/files/vtk-9.3.0-opencascade.patch
new file mode 100644
index 000000000000..e26caecf497c
--- /dev/null
+++ b/sci-libs/vtk/files/vtk-9.3.0-opencascade.patch
@@ -0,0 +1,17 @@
+From: https://gitlab.archlinux.org/archlinux/packaging/packages/vtk/-/blob/main/vtk-occt.patch
+From: Sven-Hendrik Haase <svenstaro@archlinux.org>
+diff --git a/IO/OCCT/vtkOCCTReader.h b/IO/OCCT/vtkOCCTReader.h
+index 36a02f5be3..33fa45fccc 100644
+--- 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);
+ ///@}
+