From 5c99eefb87f511afa6a17131f604e6a4df73cab0 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Mon, 31 Aug 2015 08:32:03 +0000 Subject: cad/librecad: add workaround to fix build with gcc --- cad/librecad/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cad/librecad') 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 \ -- cgit v1.2.3