]> git.pld-linux.org Git - packages/OpenCASCADE.git/commitdiff
- added X patch (adjust X11 vs other headers inclusion order to workaround Status... auto/th/OpenCASCADE-7.7.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 6 Sep 2023 19:07:30 +0000 (21:07 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 6 Sep 2023 19:07:30 +0000 (21:07 +0200)
OpenCASCADE-X.patch [new file with mode: 0644]
OpenCASCADE.spec

diff --git a/OpenCASCADE-X.patch b/OpenCASCADE-X.patch
new file mode 100644 (file)
index 0000000..f1ef47b
--- /dev/null
@@ -0,0 +1,20 @@
+--- 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>
index c35daa255db361c3644ef47fd55529c0f0dfdf08..585f8ff2da6b7923629a507e48248aeca0f319b8 100644 (file)
@@ -36,6 +36,7 @@ Patch0:               %{name}-cmake.patch
 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
@@ -222,6 +223,7 @@ PrzykĹ‚ady do OpenCASCADE.
 %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
This page took 0.062435 seconds and 4 git commands to generate.