Date: Mon, 31 Aug 2015 08:32:04 +0000 (UTC) From: Max Brazhnikov <makc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395655 - head/cad/librecad Message-ID: <201508310832.t7V8W4xe043612@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: makc Date: Mon Aug 31 08:32:03 2015 New Revision: 395655 URL: https://svnweb.freebsd.org/changeset/ports/395655 Log: cad/librecad: add workaround to fix build with gcc Modified: head/cad/librecad/Makefile Modified: head/cad/librecad/Makefile ============================================================================== --- head/cad/librecad/Makefile Mon Aug 31 08:30:16 2015 (r395654) +++ head/cad/librecad/Makefile Mon Aug 31 08:32:03 2015 (r395655) @@ -18,6 +18,9 @@ USE_GITHUB= yes GH_ACCOUNT= LibreCAD GH_PROJECT= LibreCAD +# Unhide std::to_string() to fix build with GCC (ports/193528) +CFLAGS= -D_GLIBCXX_USE_C99 + post-patch: ${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \ ${WRKSRC}/librecad/src/lib/engine/rs_settings.cpp \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508310832.t7V8W4xe043612>