mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Allow building with new mesa
This commit is contained in:
parent
f954a374c9
commit
283f9b13c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376154
1 changed files with 22 additions and 0 deletions
22
math/vtk5/files/patch-Rendering_vtkXOpenGLRenderWindow.cxx
Normal file
22
math/vtk5/files/patch-Rendering_vtkXOpenGLRenderWindow.cxx
Normal file
|
@ -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"
|
Loading…
Add table
Reference in a new issue