games/teeworlds: fix build on GCC architectures
Use C99 standard, base GCC uses C89 by default: /wrkdirs/usr/ports/games/teeworlds/work/teeworlds-0.7.5/src/base/system.c:2328: error: 'for' loop initial declaration used outside C99 mode
This commit is contained in:
@@ -16,6 +16,7 @@ GH_TUPLE= teeworlds:teeworlds-translation:4ed69dd:translations/datasrc/languages
|
||||
teeworlds:teeworlds-maps:1d3401a:maps/datasrc/maps
|
||||
|
||||
USES= cmake cpe pkgconfig python ssl
|
||||
USE_CSTD= c99
|
||||
CPE_VERSION= ${PORTVERSION:C/^0\.//}
|
||||
CMAKE_ARGS= -DPYTHON_EXECUTABLE="${PYTHON_CMD}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user