aboutsummaryrefslogtreecommitdiff
path: root/math/vtk6
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-01-03 17:45:48 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-01-03 17:45:48 +0000
commit298f63ec4546856f7d2873298d1359d1c5f0a033 (patch)
treef41ab585db03283ab303af443e534736d28ac2f6 /math/vtk6
parent857ad37c4d20b0c9d72af66bb3edd8c87081a4e9 (diff)
downloadports-298f63ec4546856f7d2873298d1359d1c5f0a033.tar.gz
ports-298f63ec4546856f7d2873298d1359d1c5f0a033.zip
Allow building with new mesa
Notes
Notes: svn path=/head/; revision=376143
Diffstat (limited to 'math/vtk6')
-rw-r--r--math/vtk6/files/patch-Rendering_OpenGL_vtkXOpenGLRenderWindow.cxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/math/vtk6/files/patch-Rendering_OpenGL_vtkXOpenGLRenderWindow.cxx b/math/vtk6/files/patch-Rendering_OpenGL_vtkXOpenGLRenderWindow.cxx
new file mode 100644
index 000000000000..bd867efdca2e
--- /dev/null
+++ b/math/vtk6/files/patch-Rendering_OpenGL_vtkXOpenGLRenderWindow.cxx
@@ -0,0 +1,22 @@
+From 800282f289e3ebeb2873f7914ed560282b482448 Mon Sep 17 00:00:00 2001
+From: "Marcus D. Hanwell" <marcus.hanwell@kitware.com>
+Date: Tue, 9 Sep 2014 13:39:13 -0400
+Subject: [PATCH] Actually define GLX_GLXEXT_LEGACY to prevent the include
+
+Change-Id: I394afaf8a550f5c7b06ceca0898c316e5f2568c9
+
+--- Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx.orig 2014-01-22 15:55:41 UTC
++++ Rendering/OpenGL/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"