aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
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"