Date: Tue, 4 Feb 2020 09:59:25 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525137 - head/math/poly2tri Message-ID: <202002040959.0149xPet000480@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Tue Feb 4 09:59:25 2020 New Revision: 525137 URL: https://svnweb.freebsd.org/changeset/ports/525137 Log: math/poly2tri: fix build on GCC architectures Use C11 compiler: ../poly2tri/common/shapes.cc: In function 'bool p2t::IsDelaunay(const std::vector<p2t::Triangle*, std::allocator<p2t::Triangle*> >&)': ../poly2tri/common/shapes.cc:394: error: a function-definition is not allowed here before ':' token ../poly2tri/common/shapes.cc:409: error: expected primary-expression at end of input Modified: head/math/poly2tri/Makefile Modified: head/math/poly2tri/Makefile ============================================================================== --- head/math/poly2tri/Makefile Tue Feb 4 09:36:17 2020 (r525136) +++ head/math/poly2tri/Makefile Tue Feb 4 09:59:25 2020 (r525137) @@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libglfw.so:graphics/glfw -USES= gl localbase:ldflags waf +USES= compiler:c11 gl localbase:ldflags waf USE_GITHUB= yes GH_ACCOUNT= jhasse GH_TAGNAME= e6e63dd29ef0805b3e40fe1832c2f1fe2307943a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002040959.0149xPet000480>