Index: head/science/openstructure/Makefile =================================================================== --- head/science/openstructure/Makefile (revision 474334) +++ head/science/openstructure/Makefile (revision 474335) @@ -1,40 +1,40 @@ # $FreeBSD$ PORTNAME= openstructure DISTVERSION= 1.7.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= https://git.scicore.unibas.ch/schwede/${PORTNAME}/repository/${DISTVERSION}/archive.tar.gz?dummy=/ MAINTAINER= yuri@FreeBSD.org COMMENT= Molecular modelling and visualization environment LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= fftw3>0:math/fftw3 LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libfftw3f.so:math/fftw3-float \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff \ ${PY_BOOST} RUN_DEPENDS= ${PYNUMPY} \ bash:shells/bash USES= cmake:outsource eigen:3 python pyqt:4 qt:4 shebangfix SHEBANG_FILES= scripts/dng.in scripts/ost.in scripts/ost_config.in USE_QT= corelib gui network opengl xml qmake_build moc_build rcc_build uic_build USE_PYQT= core gui USE_GL= gl glu USE_LDCONFIG= yes BINARY_ALIAS= python=${PYTHON_CMD} CMAKE_ARGS= -DPYTHON_INCLUDE_PATH=${PYTHON_INCLUDEDIR} \ -DPYTHON_LIBRARIES=${PYTHON_LIBDIR} \ -DFREEBSD_BOOST_PYTHON_COMPONENT=python${PYTHON_VER:S/.//} \ -DFREEBSD_PYTHON_LIBRARY=python${PYTHON_VER} post-extract: @${MV} ${WRKSRC}-* ${WRKSRC} .include Index: head/science/openstructure/files/patch-modules_base_src_test__utils_compare__files.cc =================================================================== --- head/science/openstructure/files/patch-modules_base_src_test__utils_compare__files.cc (nonexistent) +++ head/science/openstructure/files/patch-modules_base_src_test__utils_compare__files.cc (revision 474335) @@ -0,0 +1,17 @@ +Patch for the obvious bug. Reported to the upstream. + +--- modules/base/src/test_utils/compare_files.cc.orig 2018-07-10 05:54:54 UTC ++++ modules/base/src/test_utils/compare_files.cc +@@ -37,8 +37,10 @@ bool compare_files(const String& test, c + } + String test_line, gold_line; + while (true) { +- bool test_end=std::getline(test_stream, test_line) != 0; +- bool gold_end=std::getline(gold_stream, gold_line) != 0; ++ std::getline(test_stream, test_line); ++ std::getline(gold_stream, gold_line); ++ bool test_end=test_stream.eof(); ++ bool gold_end=gold_stream.eof(); + if (!(test_end || gold_end)) { + return true; + } Property changes on: head/science/openstructure/files/patch-modules_base_src_test__utils_compare__files.cc ___________________________________________________________________ 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