Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2018 11:06:37 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478783 - head/graphics/exact-image
Message-ID:  <201809021106.w82B6bqv021479@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809021106.w82B6bqv021479>