diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2015-01-03 19:06:49 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2015-01-03 19:06:49 +0000 |
commit | 283f9b13c59440c1c42af747d4093c8b383e485c (patch) | |
tree | d3b325e17f6b8156f9166a27fff5152125fbb358 | |
parent | f954a374c99148b8c7d249d77c5ce9acd16f81d0 (diff) | |
download | ports-283f9b13c59440c1c42af747d4093c8b383e485c.tar.gz ports-283f9b13c59440c1c42af747d4093c8b383e485c.zip |
Notes
-rw-r--r-- | math/vtk5/files/patch-Rendering_vtkXOpenGLRenderWindow.cxx | 22 |
1 files changed, 22 insertions, 0 deletions
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" <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/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" |