diff options
author | makc <makc@FreeBSD.org> | 2015-08-31 16:32:03 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2015-08-31 16:32:03 +0800 |
commit | 60b53ae0396d08bd11e1a015c8ed4cf0da3460d0 (patch) | |
tree | 15a181efda032a3e6788ca7fb890f931b84e6d6c /cad | |
parent | 3bad0bfe5ec2c7bf8f497859ba12ade6b1bfb94d (diff) | |
download | freebsd-ports-gnome-60b53ae0396d08bd11e1a015c8ed4cf0da3460d0.tar.gz freebsd-ports-gnome-60b53ae0396d08bd11e1a015c8ed4cf0da3460d0.tar.zst freebsd-ports-gnome-60b53ae0396d08bd11e1a015c8ed4cf0da3460d0.zip |
cad/librecad: add workaround to fix build with gcc
Diffstat (limited to 'cad')
-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 \ |