Commit 01d00c2f authored by Piotr Kubaj's avatar Piotr Kubaj

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


git-svn-id: svn+ssh://svn.freebsd.org/ports/[email protected] 35697150-7ecd-e111-bb59-0022644237b5
parent 8ac7b814
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment