Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 11:38:42 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: 71e58b20246b - main - sysutils/herbe: add USE_CSTD=c99 to fix build on GCC-based systems:
Message-ID:  <202104201138.13KBcgod000445@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=71e58b20246ba4de577b557b247b7d04b86883e3

commit 71e58b20246ba4de577b557b247b7d04b86883e3
Author:     Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2021-04-20 11:37:04 +0000
Commit:     Mark Linimon <linimon@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



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