git: c39be4dffb87 - main - misc/ola: Fix build on 15-CURRENT

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 27 Apr 2024 09:03:57 UTC
The branch main has been updated by yuri:

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

commit c39be4dffb877ab12eb239d9947a1fc582cfa895
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-27 09:03:21 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-27 09:03:52 +0000

    misc/ola: Fix build on 15-CURRENT
    
    Reported by:    fallout
---
 misc/ola/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc/ola/Makefile b/misc/ola/Makefile
index db19e4ec783b..678103b91eb2 100644
--- a/misc/ola/Makefile
+++ b/misc/ola/Makefile
@@ -20,13 +20,13 @@ TEST_DEPENDS=	cppunit>0:devel/cppunit
 USES=		bison gmake libtool localbase pkgconfig
 USE_LDCONFIG=	yes
 
-CXXFLAGS+=	-Wno-c2x-extensions # workaround for https://github.com/OpenLightingProject/ola/issues/1962
 LDFLAGS+=	-lprotobuf # workaround for https://github.com/OpenLightingProject/ola/issues/1871
 
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
-CONFIGURE_ARGS=	--disable-unittests --disable-examples
+CONFIGURE_ARGS=		--disable-unittests --disable-examples
+CONFIGURE_ARGS+=	--disable-fatal-warnings # see https://github.com/OpenLightingProject/ola/issues/1962
 
 TEST_TARGET=	check
 INSTALL_TARGET=	install-strip