diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-09-21 15:23:32 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-09-21 15:23:32 +0000 |
commit | 2460b9c47bc263beb44c65ac3e31313d627b0235 (patch) | |
tree | 06f3a19998fdfc8303c9ff13f54515b9ec143143 /games/starfighter | |
parent | 4593df7538e19c2132d9412ec6cc5f3d5ac44e61 (diff) | |
download | ports-2460b9c47bc263beb44c65ac3e31313d627b0235.tar.gz ports-2460b9c47bc263beb44c65ac3e31313d627b0235.zip |
games/starfighter: fix build on GCC architectures
Set USE_CSTD=c99 to fix build issue when using base GCC:
gfx.c:922: error: 'for' loop initial declaration used outside C99 mode
PR: 240691
Approved by: portmgr (blanket: build fix), linimon (mentor)
Differential Revision: https://reviews.freebsd.org/D21722
Notes
Notes:
svn path=/head/; revision=512512
Diffstat (limited to 'games/starfighter')
-rw-r--r-- | games/starfighter/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/games/starfighter/Makefile b/games/starfighter/Makefile index 69e1fc535667..5920eb691432 100644 --- a/games/starfighter/Makefile +++ b/games/starfighter/Makefile @@ -16,6 +16,7 @@ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf dos2unix gnome iconv pkgconfig sdl +USE_CSTD= c99 USE_SDL= image2 mixer2 ttf2 USE_GITHUB= yes |