summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/vtk/files/vtk-7.0.0-glext.patch')
-rw-r--r--sci-libs/vtk/files/vtk-7.0.0-glext.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-libs/vtk/files/vtk-7.0.0-glext.patch b/sci-libs/vtk/files/vtk-7.0.0-glext.patch
new file mode 100644
index 000000000000..5c321340ed6a
--- /dev/null
+++ b/sci-libs/vtk/files/vtk-7.0.0-glext.patch
@@ -0,0 +1,12 @@
+--- a/Rendering/OpenGL/vtkOpenGL.h
++++ b/Rendering/OpenGL/vtkOpenGL.h
+@@ -19,7 +19,8 @@
+ #include "vtkConfigure.h"
+
+ // To prevent gl.h to include glext.h provided by the system
+-#define GL_GLEXT_LEGACY
++// https://bugzilla.redhat.com/show_bug.cgi?id=1138466
++// #define GL_GLEXT_LEGACY
+ #if defined(__APPLE__) && defined(VTK_USE_COCOA)
+ # include <OpenGL/gl.h> // Include OpenGL API.
+ #else