From 4907751c7453f26bf51c2eb9316ea74a7f40b97d Mon Sep 17 00:00:00 2001 From: antoine Date: Sat, 3 Jan 2015 19:06:49 +0000 Subject: Allow building with new mesa --- .../patch-Rendering_vtkXOpenGLRenderWindow.cxx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 math/vtk5/files/patch-Rendering_vtkXOpenGLRenderWindow.cxx (limited to 'math/vtk5') diff --git a/math/vtk5/files/patch-Rendering_vtkXOpenGLRenderWindow.cxx b/math/vtk5/files/patch-Rendering_vtkXOpenGLRenderWindow.cxx new file mode 100644 index 000000000000..6af846090bdd --- /dev/null +++ b/math/vtk5/files/patch-Rendering_vtkXOpenGLRenderWindow.cxx @@ -0,0 +1,22 @@ +From 800282f289e3ebeb2873f7914ed560282b482448 Mon Sep 17 00:00:00 2001 +From: "Marcus D. Hanwell" +Date: Tue, 9 Sep 2014 13:39:13 -0400 +Subject: [PATCH] Actually define GLX_GLXEXT_LEGACY to prevent the include + +Change-Id: I394afaf8a550f5c7b06ceca0898c316e5f2568c9 + +--- Rendering/vtkXOpenGLRenderWindow.cxx.orig 2012-10-15 20:33:21 UTC ++++ Rendering/vtkXOpenGLRenderWindow.cxx +@@ -25,9 +25,9 @@ + + #include "vtkOpenGL.h" + +-// define GLX_GLXEXT_LEGACY to prevent glx.h to include glxext.h provided by +-// the system +-//#define GLX_GLXEXT_LEGACY ++// Define GLX_GLXEXT_LEGACY to prevent glx.h from including the glxext.h ++// provided by the system. ++#define GLX_GLXEXT_LEGACY + #include "GL/glx.h" + + #include "vtkgl.h" -- cgit