aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorchinsan <chinsan@FreeBSD.org>2008-03-19 15:44:40 +0800
committerchinsan <chinsan@FreeBSD.org>2008-03-19 15:44:40 +0800
commit29164e892f9e2661e4a9c59db33ccd953dc73741 (patch)
treecb145066e7df3399262da2c8cd7bfe24b9704f39 /science
parent13fb3953d752b5ba141aed8801ef6d8a7112e778 (diff)
downloadfreebsd-ports-gnome-29164e892f9e2661e4a9c59db33ccd953dc73741.tar.gz
freebsd-ports-gnome-29164e892f9e2661e4a9c59db33ccd953dc73741.tar.zst
freebsd-ports-gnome-29164e892f9e2661e4a9c59db33ccd953dc73741.zip
- Bump portrevision.
- Unbreak BROKEN with hdf5-1.6.7. - use USE_LDCONFIG for installing shared libraries. PR: ports/121408 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net>
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,