svn commit: r525137 - head/math/poly2tri
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Feb 4 09:59:25 UTC 2020
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
More information about the svn-ports-head
mailing list