From f3531eaf9748acb6c81c0ae5d5c8e8665e6df5fd Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Tue, 4 Feb 2020 09:59:25 +0000 Subject: math/poly2tri: fix build on GCC architectures Use C11 compiler: ../poly2tri/common/shapes.cc: In function 'bool p2t::IsDelaunay(const std::vector >&)': ../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 --- math/poly2tri/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math') diff --git a/math/poly2tri/Makefile b/math/poly2tri/Makefile index 209043aee69f..9b6c46a55711 100644 --- a/math/poly2tri/Makefile +++ b/math/poly2tri/Makefile @@ -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 -- cgit