aboutsummaryrefslogtreecommitdiff
path: root/cad/librecad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/librecad/Makefile')
-rw-r--r--cad/librecad/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/cad/librecad/Makefile b/cad/librecad/Makefile
index ccffb8c3d0fe..929d5fbf0406 100644
--- a/cad/librecad/Makefile
+++ b/cad/librecad/Makefile
@@ -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 \