Index: head/science/kst2/Makefile =================================================================== --- head/science/kst2/Makefile (revision 566404) +++ head/science/kst2/Makefile (revision 566405) @@ -1,64 +1,61 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= kst DISTVERSION= ${KST_VERSION}.${KST_DATE} CATEGORIES= science MAINTAINER= makc@FreeBSD.org COMMENT= Data viewing and plotting tool LICENSE= GPLv2 GFDL LGPL20 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_GFDL= ${WRKSRC}/COPYING-DOCS LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LGPL LIB_DEPENDS= libgsl.so:math/gsl \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang desktop-file-utils kde:5 pkgconfig \ qt:5 shared-mime-info USE_QT= concurrent core gui network printsupport svg widgets xml \ buildtools_build linguisttools_build qmake_build USE_LDCONFIG= yes KST_VERSION= 2.0.8 KST_DATE= 20210124 KST_COMMIT= 38eddb53 KDE_INVENT= 38eddb5322a1d557f9d86ea95d456d76272941e3 graphics kst-plot CMAKE_ARGS= -Dkst_install_prefix=${PREFIX} \ -Dkst_pch=off \ -Dkst_version_string=${KST_VERSION} \ -Dkst_revision="${KST_COMMIT} ${KST_DATE}" \ -DCMAKE_DISABLE_FIND_PACKAGE_Getdata=ON \ -Dkst_qt5=on PLIST_SUB= SHLIB_VER=${KST_VERSION} OPTIONS_DEFINE= FITS HDF5 MATLAB NETCDF OPTIONS_DEFAULT= FITS HDF5 MATLAB OPTIONS_SUB= yes FITS_DESC= Support for data in FITS format FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio FITS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_CFITSIO=ON HDF5_DESC= Support for data in HDF5 format HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HDF5_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_HDF5=ON MATLAB_DESC= Support for data in MATLAB format MATLAB_LIB_DEPENDS= libmatio.so:math/matio MATLAB_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Matio=ON NETCDF_DESC= Support for data in NetCDF format (broken) NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NETCDF_IGNORE= does not support NetCDF 4 NETCDF_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Netcdf=ON -post-patch: - ${REINPLACE_CMD} 's,hdf5/serial/,,' ${WRKSRC}/src/datasources/hdf5/hdf5.h - .include Index: head/science/kst2/files/patch-src_datasources_hdf5_hdf5.cpp =================================================================== --- head/science/kst2/files/patch-src_datasources_hdf5_hdf5.cpp (nonexistent) +++ head/science/kst2/files/patch-src_datasources_hdf5_hdf5.cpp (revision 566405) @@ -0,0 +1,14 @@ +--- src/datasources/hdf5/hdf5.cpp.orig 2021-01-24 05:51:19 UTC ++++ src/datasources/hdf5/hdf5.cpp +@@ -308,7 +308,11 @@ herr_t HDF5Source::visitFunc(hid_t id, const char* nam + return 0; + } + ++#if H5_VERSION_GE(1,12,0) ++ status = H5Oget_info_by_name(id, name, &infobuf, H5O_INFO_BASIC, H5P_DEFAULT); ++#else + status = H5Oget_info_by_name(id, name, &infobuf, H5P_DEFAULT); ++#endif + if(status == 0){ + if(infobuf.type == H5O_TYPE_DATASET){ + H5::DataSet dataset = h5Source->_hdfFile->openDataSet(name); Property changes on: head/science/kst2/files/patch-src_datasources_hdf5_hdf5.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/science/kst2/files/patch-src_datasources_hdf5_hdf5.h =================================================================== --- head/science/kst2/files/patch-src_datasources_hdf5_hdf5.h (nonexistent) +++ head/science/kst2/files/patch-src_datasources_hdf5_hdf5.h (revision 566405) @@ -0,0 +1,11 @@ +--- src/datasources/hdf5/hdf5.h.orig 2021-01-24 05:51:19 UTC ++++ src/datasources/hdf5/hdf5.h +@@ -18,7 +18,7 @@ + #include + + #include +-#include ++#include + #include + + #include "debug.h" Property changes on: head/science/kst2/files/patch-src_datasources_hdf5_hdf5.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property