Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2019 15:23:32 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512512 - head/games/starfighter
Message-ID:  <201909211523.x8LFNWbN053122@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909211523.x8LFNWbN053122>