Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2015 17:45:49 +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: r376143 - head/math/vtk6/files
Message-ID:  <201501031745.t03Hjnm3072340@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Jan  3 17:45:48 2015
New Revision: 376143
URL: https://svnweb.freebsd.org/changeset/ports/376143
QAT: https://qat.redports.org/buildarchive/r376143/

Log:
  Allow building with new mesa

Added:
  head/math/vtk6/files/patch-Rendering_OpenGL_vtkXOpenGLRenderWindow.cxx   (contents, props changed)

Added: head/math/vtk6/files/patch-Rendering_OpenGL_vtkXOpenGLRenderWindow.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/vtk6/files/patch-Rendering_OpenGL_vtkXOpenGLRenderWindow.cxx	Sat Jan  3 17:45:48 2015	(r376143)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501031745.t03Hjnm3072340>