cad/librecad: add workaround to fix build with gcc

This commit is contained in:
Max Brazhnikov 2015-08-31 08:32:03 +00:00
parent d6d85a4541
commit 5c99eefb87
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395655

View File

@ -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 \