From 29164e892f9e2661e4a9c59db33ccd953dc73741 Mon Sep 17 00:00:00 2001 From: chinsan Date: Wed, 19 Mar 2008 07:44:40 +0000 Subject: - 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 --- science/paraview/Makefile | 5 ++--- .../files/patch-Utilities-Xdmf-libsrc-XdmfDataDesc.cxx | 11 +++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 science/paraview/files/patch-Utilities-Xdmf-libsrc-XdmfDataDesc.cxx (limited to 'science') 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, -- cgit