Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2021 02:36:22 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566826 - head/audio/ft2play
Message-ID:  <202103010236.1212aMLF005506@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Mon Mar  1 02:36:22 2021
New Revision: 566826
URL: https://svnweb.freebsd.org/changeset/ports/566826

Log:
  Add USE_CSTD=c99 to fix build on GCC-based systems:
  
    ft2play-5730b16/pmp_main.c:407: error: 'for' loop initial declaration used outside C99 mode
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/audio/ft2play/Makefile

Modified: head/audio/ft2play/Makefile
==============================================================================
--- head/audio/ft2play/Makefile	Mon Mar  1 01:54:25 2021	(r566825)
+++ head/audio/ft2play/Makefile	Mon Mar  1 02:36:22 2021	(r566826)
@@ -12,6 +12,7 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		sdl
+USE_CSTD=	c99
 USE_GITHUB=	yes
 GH_ACCOUNT=	8bitbubsy
 GH_TAGNAME=	5730b16



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