Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2021 10:32:05 GMT
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 846f70f92d00 - main - audio/nyquist: add USE_CSTD=c99 to fix build on GCC-based systems:
Message-ID:  <202104191032.13JAW5cj005467@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by linimon:

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

commit 846f70f92d00af7e1eab0a3209474a4a2d4faa8d
Author:     Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2021-04-19 10:30:10 +0000
Commit:     Mark Linimon <linimon@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}
 



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