git: fb2822ec4707 - main - net-im/sayaka: fix build on 14.1

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 03 Jun 2024 15:12:34 UTC
The branch main has been updated by pkubaj:

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

commit fb2822ec470784a796e3a7fa8e52efdcf87b821d
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-06-03 05:55:23 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-06-03 15:11:58 +0000

    net-im/sayaka: fix build on 14.1
    
    SixelConverter.cpp:285:17: error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension]
      285 |         uint8 sixelbuf[(w + 5) * bcnt];
---
 net-im/sayaka/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-im/sayaka/Makefile b/net-im/sayaka/Makefile
index e12aebb45122..6ab65829e738 100644
--- a/net-im/sayaka/Makefile
+++ b/net-im/sayaka/Makefile
@@ -22,6 +22,8 @@ PORTDOCS=	README.md
 
 OPTIONS_DEFINE=	DOCS
 
+CXXFLAGS+=	-Wno-error=vla-cxx-extension
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/sayaka ${STAGEDIR}${PREFIX}/bin