Date: Sat, 3 Jan 2015 19:06:50 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376154 - head/math/vtk5/files Message-ID: <201501031906.t03J6omx012156@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sat Jan 3 19:06:49 2015 New Revision: 376154 URL: https://svnweb.freebsd.org/changeset/ports/376154 QAT: https://qat.redports.org/buildarchive/r376154/ Log: Allow building with new mesa Added: head/math/vtk5/files/patch-Rendering_vtkXOpenGLRenderWindow.cxx (contents, props changed) Added: head/math/vtk5/files/patch-Rendering_vtkXOpenGLRenderWindow.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/vtk5/files/patch-Rendering_vtkXOpenGLRenderWindow.cxx Sat Jan 3 19:06:49 2015 (r376154) @@ -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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501031906.t03J6omx012156>