svn commit: r477996 - head/biology/protomol

Tobias Kortkamp tobik at FreeBSD.org
Sat Aug 25 03:45:29 UTC 2018


Author: tobik
Date: Sat Aug 25 03:45:28 2018
New Revision: 477996
URL: https://svnweb.freebsd.org/changeset/ports/477996

Log:
  biology/protomol: Fix build with Clang 6
  
  Report.cpp:208:12: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const std::__1::ostream' (aka 'const basic_ostream<char>'))
          *myStream << a;
          ~~~~~~~~~ ^  ~
  /usr/include/c++/v1/ostream:218:20: note: candidate function not viable: no known conversion from 'const std::__1::ostream' (aka 'const basic_ostream<char>') to 'const void *' for 1st argument; take the address of the argument with &
      basic_ostream& operator<<(const void* __p);
                     ^
  ... and so on ...
  
  http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/protomol-2.0.3_13.log

Modified:
  head/biology/protomol/Makefile

Modified: head/biology/protomol/Makefile
==============================================================================
--- head/biology/protomol/Makefile	Sat Aug 25 03:35:46 2018	(r477995)
+++ head/biology/protomol/Makefile	Sat Aug 25 03:45:28 2018	(r477996)
@@ -18,6 +18,7 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 		libtiff.so:graphics/tiff
 
 USES=		shebangfix
+USE_CXXSTD=	c++98
 SHEBANG_FILES=	examples/butane_4/procDihedralFile.awk \
 		examples/butane_4/cleanOutput.bash \
 		examples/butane_4/runButaneResults.sh \


More information about the svn-ports-all mailing list