diff options
author | antoine <antoine@FreeBSD.org> | 2015-01-04 03:06:49 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2015-01-04 03:06:49 +0800 |
commit | 4907751c7453f26bf51c2eb9316ea74a7f40b97d (patch) | |
tree | d3b325e17f6b8156f9166a27fff5152125fbb358 /math | |
parent | ccc6efc76f874ba32cd6d43c1e66595dea51a6bd (diff) | |
download | freebsd-ports-gnome-4907751c7453f26bf51c2eb9316ea74a7f40b97d.tar.gz freebsd-ports-gnome-4907751c7453f26bf51c2eb9316ea74a7f40b97d.tar.zst freebsd-ports-gnome-4907751c7453f26bf51c2eb9316ea74a7f40b97d.zip |
Allow building with new mesa
Diffstat (limited to 'math')
-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" |