diff options
Diffstat (limited to 'cad/opencascade/files/patch-src_IVtkDraw_IVtkDraw__Interactor.cxx')
-rw-r--r-- | cad/opencascade/files/patch-src_IVtkDraw_IVtkDraw__Interactor.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cad/opencascade/files/patch-src_IVtkDraw_IVtkDraw__Interactor.cxx b/cad/opencascade/files/patch-src_IVtkDraw_IVtkDraw__Interactor.cxx new file mode 100644 index 000000000000..290e6a0bbc53 --- /dev/null +++ b/cad/opencascade/files/patch-src_IVtkDraw_IVtkDraw__Interactor.cxx @@ -0,0 +1,16 @@ +--- src/IVtkDraw/IVtkDraw_Interactor.cxx.orig 2020-11-03 14:50:01 UTC ++++ src/IVtkDraw/IVtkDraw_Interactor.cxx +@@ -20,6 +20,13 @@ + #include <vtkWin32OpenGLRenderWindow.h> + #else + #include <GL/glx.h> ++ ++// Preventing naming collisions between ++// GLX and VTK versions 9.0 and above ++#ifdef AllValues ++#undef AllValues ++#endif ++ + #include <vtkXRenderWindowInteractor.h> + #include <vtkXOpenGLRenderWindow.h> + #endif |