diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2015-08-31 08:32:03 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2015-08-31 08:32:03 +0000 |
commit | 5c99eefb87f511afa6a17131f604e6a4df73cab0 (patch) | |
tree | 15a181efda032a3e6788ca7fb890f931b84e6d6c /cad/librecad | |
parent | d6d85a4541dd78055540b3a04efdef8fe5f584b0 (diff) | |
download | ports-5c99eefb87f511afa6a17131f604e6a4df73cab0.tar.gz ports-5c99eefb87f511afa6a17131f604e6a4df73cab0.zip |
Notes
Diffstat (limited to 'cad/librecad')
-rw-r--r-- | cad/librecad/Makefile | 3 |
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 \ |