aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2008-03-19 07:44:40 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2008-03-19 07:44:40 +0000
commite36312ad9ce0559b5da0638116af0506c31d7724 (patch)
tree4fec879046c50fbcaf8558ad53c08ffbefd50177 /science
parenta5855912d8904ae35c1d9ce9c4026b2d002d9bf8 (diff)
downloadports-e36312ad9ce0559b5da0638116af0506c31d7724.tar.gz
ports-e36312ad9ce0559b5da0638116af0506c31d7724.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/paraview/Makefile5
-rw-r--r--science/paraview/files/patch-Utilities-Xdmf-libsrc-XdmfDataDesc.cxx11
2 files changed, 13 insertions, 3 deletions
diff --git a/science/paraview/Makefile b/science/paraview/Makefile
index 5440f359759d..4f7f2e0cee3d 100644
--- a/science/paraview/Makefile
+++ b/science/paraview/Makefile
@@ -7,7 +7,7 @@
PORTNAME= paraview
PORTVERSION= 2.4.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science graphics
MASTER_SITES= http://www.paraview.org/files/v2.4/
@@ -22,10 +22,9 @@ LIB_DEPENDS= hdf5.0:${PORTSDIR}/science/hdf5 \
freetype.9:${PORTSDIR}/print/freetype2 \
expat.6:${PORTSDIR}/textproc/expat2
-BROKEN= fails to compile due to the newer hdf5 API incompatible
-
USE_GL= yes
USE_GMAKE= yes
+USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${DISTNAME}-build
PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
diff --git a/science/paraview/files/patch-Utilities-Xdmf-libsrc-XdmfDataDesc.cxx b/science/paraview/files/patch-Utilities-Xdmf-libsrc-XdmfDataDesc.cxx
new file mode 100644
index 000000000000..05f73fe23d08
--- /dev/null
+++ b/science/paraview/files/patch-Utilities-Xdmf-libsrc-XdmfDataDesc.cxx
@@ -0,0 +1,11 @@
+--- Utilities/Xdmf/libsrc/XdmfDataDesc.cxx.orig 2008-03-09 00:31:13.000000000 +0800
++++ Utilities/Xdmf/libsrc/XdmfDataDesc.cxx 2008-03-09 00:32:42.000000000 +0800
+@@ -347,7 +347,7 @@
+ status = H5Sselect_elements( this->DataSpace,
+ H5S_SELECT_SET,
+ NElements,
+- ( const hsize_t **)HCoordinates);
++ ( const hsize_t *)HCoordinates);
+ #else
+ status = H5Sselect_elements( this->DataSpace,
+ H5S_SELECT_SET,