Date: Sat, 25 Aug 2018 15:43:15 +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: r478052 - head/sysutils/rfstool Message-ID: <201808251543.w7PFhFBh082837@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sat Aug 25 15:43:15 2018 New Revision: 478052 URL: https://svnweb.freebsd.org/changeset/ports/478052 Log: sysutils/rfstool: Fix build with Clang 6 reiserfs.cpp:770:23: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] printf("File %s (%"FMT_QWORD" Bytes)\n", (const char*) strLocalPath, pFile->m_stat.sd_size ); ^ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/rfstool-0.14.log - Make sure the build respects CXXFLAGS Modified: head/sysutils/rfstool/Makefile Modified: head/sysutils/rfstool/Makefile ============================================================================== --- head/sysutils/rfstool/Makefile Sat Aug 25 15:31:48 2018 (r478051) +++ head/sysutils/rfstool/Makefile Sat Aug 25 15:43:15 2018 (r478052) @@ -12,12 +12,13 @@ COMMENT= Read from a Reiser file system PLIST_FILES= bin/rfstool USES= dos2unix zip +USE_CXXSTD= c++98 DOS2UNIX_FILES= reiserfs.h WRKSRC= ${WRKDIR}/rfstool-0.14/RFSTOOL MAKEFILE= makefile.gcc3x post-extract: - @${REINPLACE_CMD} -e "s,g++,\$${CXX},g" ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -e "s,g++,\$${CXX} \$${CXXFLAGS},g" ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/rfstool ${STAGEDIR}${PREFIX}/bin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808251543.w7PFhFBh082837>