From 03783d5f542678ca429fe85c9431a321aa926bab Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Thu, 12 Sep 2024 08:41:02 +0800 Subject: [PATCH] tree-sitter-go-mod: needs C99 --- devel/tree-sitter-go-mod/Portfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devel/tree-sitter-go-mod/Portfile b/devel/tree-sitter-go-mod/Portfile index c48dbddda5781..56b951ad012d4 100644 --- a/devel/tree-sitter-go-mod/Portfile +++ b/devel/tree-sitter-go-mod/Portfile @@ -22,6 +22,9 @@ maintainers {amake @amake} openmaintainer worksrcdir ${worksrcdir}/src +# parser.c: error: ‘for’ loop initial declaration used outside C99 mode +configure.cflags-append -std=c99 + tree_sitter.libname gomod github.livecheck.branch main