git: 71e58b20246b - main - sysutils/herbe: add USE_CSTD=c99 to fix build on GCC-based systems:

Mark Linimon linimon at FreeBSD.org
Tue Apr 20 11:38:42 UTC 2021


The branch main has been updated by linimon:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71e58b20246ba4de577b557b247b7d04b86883e3

commit 71e58b20246ba4de577b557b247b7d04b86883e3
Author:     Mark Linimon <linimon at FreeBSD.org>
AuthorDate: 2021-04-20 11:37:04 +0000
Commit:     Mark Linimon <linimon at FreeBSD.org>
CommitDate: 2021-04-20 11:37:47 +0000

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

diff --git a/sysutils/herbe/Makefile b/sysutils/herbe/Makefile
index 23c453de7bb3..6894dcebcce0 100644
--- a/sysutils/herbe/Makefile
+++ b/sysutils/herbe/Makefile
@@ -11,6 +11,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${LOCALBASE}/include/freetype2/ft2build.h:print/freetype2
 
 USES=		localbase xorg
+USE_CSTD=	c99
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	dudik


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