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:
Piotr Kubaj 2020-05-02 11:48:09 +00:00
parent 7fce5965ae
commit d4eab8f6d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533687

View file

@ -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}"