aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2015-02-21 18:02:31 +0800
committerThierry Thomas <thierry@FreeBSD.org>2015-02-21 18:02:31 +0800
commitc22939f5092fa5a484bb7e1252ae5fc316ea2a75 (patch)
treea104d33b7f7567dd3fec09df57e1b0d5cf431cd8 /science
parent7264a8204ef0e9be49720c2b68b2eab5e8555547 (diff)
downloadfreebsd-ports-gnome-c22939f5092fa5a484bb7e1252ae5fc316ea2a75.tar.gz
freebsd-ports-gnome-c22939f5092fa5a484bb7e1252ae5fc316ea2a75.tar.zst
freebsd-ports-gnome-c22939f5092fa5a484bb7e1252ae5fc316ea2a75.zip
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>
Diffstat (limited to 'science')
-rw-r--r--science/paraview/Makefile4
-rw-r--r--science/paraview/files/patch-VTK_Rendering_OpenGL_vtkXOpenGLRenderingWindow.cxx11
2 files changed, 12 insertions, 3 deletions
diff --git a/science/paraview/Makefile b/science/paraview/Makefile
index 2e446f97103a..56407d9064d7 100644
--- a/science/paraview/Makefile
+++ b/science/paraview/Makefile
@@ -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
diff --git a/science/paraview/files/patch-VTK_Rendering_OpenGL_vtkXOpenGLRenderingWindow.cxx b/science/paraview/files/patch-VTK_Rendering_OpenGL_vtkXOpenGLRenderingWindow.cxx
new file mode 100644
index 000000000000..1cf7a19634f8
--- /dev/null
+++ b/science/paraview/files/patch-VTK_Rendering_OpenGL_vtkXOpenGLRenderingWindow.cxx
@@ -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"