Date: Sat, 25 Aug 2018 05:00: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: r478001 - head/editors/pdfedit Message-ID: <201808250500.w7P50bP4042752@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sat Aug 25 05:00:37 2018 New Revision: 478001 URL: https://svnweb.freebsd.org/changeset/ports/478001 Log: editors/pdfedit: Fix build with Clang 6 /wrkdirs/usr/ports/editors/pdfedit/work/pdfedit-0.4.5/src/kernel/cxref.h:422:18: error: non-constant-expression cannot be narrowed from type 'pdfobjects::IndiRef::ObjNum' (aka 'unsigned int') to 'int' in initializer list [-Wc++11-narrowing] ::Ref xpdfRef={ref.num, ref.gen}; ^~~~~~~ /wrkdirs/usr/ports/editors/pdfedit/work/pdfedit-0.4.5/src/kernel/cxref.h:422:18: note: insert an explicit cast to silence this issue ::Ref xpdfRef={ref.num, ref.gen}; ^~~~~~~ static_cast<int>( ) http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/pdfedit-0.4.5_11.log PR: 225295 Reported by: O. Hartmann <ohartmann@walstatt.org> Modified: head/editors/pdfedit/Makefile Modified: head/editors/pdfedit/Makefile ============================================================================== --- head/editors/pdfedit/Makefile Sat Aug 25 04:43:25 2018 (r478000) +++ head/editors/pdfedit/Makefile Sat Aug 25 05:00:37 2018 (r478001) @@ -21,6 +21,7 @@ LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libt1.so:devel/t1lib USES= gmake perl5 tar:bzip2 +USE_CXXSTD= c++98 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-root-dir=${STAGEDIR} \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808250500.w7P50bP4042752>