git: 846f70f92d00 - main - audio/nyquist: add USE_CSTD=c99 to fix build on GCC-based systems:

Mark Linimon linimon at FreeBSD.org
Mon Apr 19 10:32:05 UTC 2021


The branch main has been updated by linimon:

URL: https://cgit.FreeBSD.org/ports/commit/?id=846f70f92d00af7e1eab0a3209474a4a2d4faa8d

commit 846f70f92d00af7e1eab0a3209474a4a2d4faa8d
Author:     Mark Linimon <linimon at FreeBSD.org>
AuthorDate: 2021-04-19 10:30:10 +0000
Commit:     Mark Linimon <linimon at FreeBSD.org>
CommitDate: 2021-04-19 10:30:36 +0000

    audio/nyquist: add USE_CSTD=c99 to fix build on GCC-based systems:
    
      nyqsrc/sndseq.c:81: error: 'for' loop initial declaration used outside C99 mode
---
 audio/nyquist/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/audio/nyquist/Makefile b/audio/nyquist/Makefile
index 202c51223952..a179a4688710 100644
--- a/audio/nyquist/Makefile
+++ b/audio/nyquist/Makefile
@@ -10,6 +10,7 @@ COMMENT=	Language for sound synthesis and music composition (sound is broken) #
 LICENSE=	BSD3CLAUSE
 
 USES=		cmake zip
+USE_CSTD=	c99
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 


More information about the dev-commits-ports-all mailing list