svn commit: r478783 - head/graphics/exact-image

Tobias Kortkamp tobik at FreeBSD.org
Sun Sep 2 11:06:38 UTC 2018


Author: tobik
Date: Sun Sep  2 11:06:37 2018
New Revision: 478783
URL: https://svnweb.freebsd.org/changeset/ports/478783

Log:
  grpahics/exact-image: Fix build with Clang 6
  
  codecs/raw.cc:74:10: error: no viable conversion from returned value of type 'std::__1::basic_ostream<char>' to function return type 'bool'
    return stream->write ((char*)image.getRawData(), image.stride()*image.h)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/exact-image-0.9.1_1.log
  
  ... and more c++11-narrowing errors if one gets past the above error

Modified:
  head/graphics/exact-image/Makefile

Modified: head/graphics/exact-image/Makefile
==============================================================================
--- head/graphics/exact-image/Makefile	Sun Sep  2 10:59:44 2018	(r478782)
+++ head/graphics/exact-image/Makefile	Sun Sep  2 11:06:37 2018	(r478783)
@@ -30,6 +30,7 @@ BROKEN_armv7=		fails to configure: C++ compiler is not
 #broken headers on c++ in base system:
 CPPFLAGS+=	-fpermissive -I${LOCALBASE}/include
 USES=		gmake jpeg perl5 pkgconfig python:2.7 tar:bzip2
+USE_CXXSTD=	c++98
 USE_XORG=	x11
 HAS_CONFIGURE=	yes
 INSTALL_WRKSRC=	${WRKSRC}/objdir


More information about the svn-ports-head mailing list