Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2024 15:12:34 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fb2822ec4707 - main - net-im/sayaka: fix build on 14.1
Message-ID:  <202406031512.453FCYFT042714@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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