svn commit: r533687 - head/games/teeworlds
Piotr Kubaj
pkubaj at FreeBSD.org
Sat May 2 11:48:09 UTC 2020
Author: pkubaj
Date: Sat May 2 11:48:09 2020
New Revision: 533687
URL: https://svnweb.freebsd.org/changeset/ports/533687
Log:
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
Modified:
head/games/teeworlds/Makefile
Modified: head/games/teeworlds/Makefile
==============================================================================
--- head/games/teeworlds/Makefile Sat May 2 11:46:06 2020 (r533686)
+++ head/games/teeworlds/Makefile Sat May 2 11:48:09 2020 (r533687)
@@ -16,6 +16,7 @@ GH_TUPLE= teeworlds:teeworlds-translation:4ed69dd:tran
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}"
More information about the svn-ports-head
mailing list