1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Paraview should be upgraded to the latest. Meanwhile, just unbreak it

with the patch already used for VTH (#define GLX_GLXEXT_LEGACY).

Submitted by:	René Thümmler <rt (at) scientifics.de>
This commit is contained in:
Thierry Thomas 2015-02-21 10:02:31 +00:00
parent 7264a8204e
commit c22939f509
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379494
2 changed files with 12 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= paraview
PORTVERSION= 4.1.0
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= science graphics
MASTER_SITES= http://www.paraview.org/files/v${VERMAJORMINOR}/
DISTNAME= ParaView-v${PORTVERSION}-source
@ -11,8 +11,6 @@ DISTNAME= ParaView-v${PORTVERSION}-source
MAINTAINER= devel@stasyan.com
COMMENT= Powerful scientific data visualization application
BROKEN= Fails to build with latest libGL
LICENSE= ParaView_License_1.2
LICENSE_NAME= ParaView_License
LICENSE_FILE= ${PATCH_WRKSRC}/License_v1.2.txt

View File

@ -0,0 +1,11 @@
--- VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx 2014-01-22 16:55:41.000000000 +0100
+++ VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx 2014-12-20 01:00:32.000000000 +0100
@@ -27,7 +27,7 @@
// define GLX_GLXEXT_LEGACY to prevent glx.h to include glxext.h provided by
// the system
-//#define GLX_GLXEXT_LEGACY
+#define GLX_GLXEXT_LEGACY
#include "GL/glx.h"
#include "vtkgl.h"