svn commit: r478001 - head/editors/pdfedit
Tobias Kortkamp
tobik at FreeBSD.org
Sat Aug 25 05:00:38 UTC 2018
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 at 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} \
More information about the svn-ports-all
mailing list