svn commit: r512512 - head/games/starfighter
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Sep 21 15:23:33 UTC 2019
Author: pkubaj
Date: Sat Sep 21 15:23:32 2019
New Revision: 512512
URL: https://svnweb.freebsd.org/changeset/ports/512512
Log:
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
Modified:
head/games/starfighter/Makefile
Modified: head/games/starfighter/Makefile
==============================================================================
--- head/games/starfighter/Makefile Sat Sep 21 15:22:06 2019 (r512511)
+++ head/games/starfighter/Makefile Sat Sep 21 15:23:32 2019 (r512512)
@@ -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
More information about the svn-ports-all
mailing list