--- /dev/null
+--- occt-cec1ecd/src/IVtkDraw/IVtkDraw_Interactor.cxx.orig 2023-07-21 17:36:51.000000000 +0200
++++ occt-cec1ecd/src/IVtkDraw/IVtkDraw_Interactor.cxx 2023-09-06 19:55:42.845602803 +0200
+@@ -19,6 +19,8 @@
+ #include <vtkWin32RenderWindowInteractor.h>
+ #include <vtkWin32OpenGLRenderWindow.h>
+ #else
++#include <vtkXRenderWindowInteractor.h>
++#include <vtkXOpenGLRenderWindow.h>
+ #include <GL/glx.h>
+
+ // Preventing naming collisions between
+@@ -36,8 +38,6 @@
+ #undef Success
+ #endif
+
+-#include <vtkXRenderWindowInteractor.h>
+-#include <vtkXOpenGLRenderWindow.h>
+ #endif
+ #include <vtkActor.h>
+ #include <vtkActorCollection.h>
Patch1: %{name}-inspector-data.patch
Patch2: %{name}-draco.patch
Patch3: %{name}-openvr.patch
+Patch4: %{name}-X.patch
URL: https://www.opencascade.com/open-cascade-technology/
%{?with_freeimage:BuildRequires: FreeImage-devel}
BuildRequires: OpenGL-GLU-devel
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%{__sed} -i -e '/set (CMAKE_CONFIGURATION_TYPES/ { s/INTERNAL/STRING/;s/ FORCE// }' CMakeLists.txt
%{__sed} -i -e 's/IMPORTED_LOCATION_RELEASE/IMPORTED_LOCATION_PLD/' adm/cmake/tbb.cmake