git: 7839151791d0 - main - net/udt: fix build on 13.x

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 26 Aug 2024 12:41:01 UTC
The branch main has been updated by pkubaj:

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

commit 7839151791d01e6a7f87a553c6332c65f89432c7
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-08-26 12:39:02 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-08-26 12:40:58 +0000

    net/udt: fix build on 13.x
    
    Reported by:    Mikhail T. <mi+t@virtual-estates.net>
---
 net/udt/Makefile          | 2 --
 net/udt/files/BSDmakefile | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/net/udt/Makefile b/net/udt/Makefile
index 2c66fda09b64..08fe1c9218f0 100644
--- a/net/udt/Makefile
+++ b/net/udt/Makefile
@@ -22,8 +22,6 @@ OPTIONS_DEFINE=	DOCS
 
 DOCS_VARS_OFF=	EXTRACT_AFTER_ARGS+="--exclude udt${PORTVERSION:R}/doc"
 
-CXXFLAGS+=	-Wno-error=vla-cxx-extension
-
 post-build:
 	# Building sample applications:
 .for a in ${UDT_APPS}
diff --git a/net/udt/files/BSDmakefile b/net/udt/files/BSDmakefile
index a5e4474e74dc..3abf7c5cad31 100644
--- a/net/udt/files/BSDmakefile
+++ b/net/udt/files/BSDmakefile
@@ -15,6 +15,6 @@ CXXFLAGS+=	-D${MACHINE_ARCH:tu:S/I386/IA32/:S/SPARC64/SPARC/} -DBSD
 CXXFLAGS+=	-Wno-system-headers -Wall -W	\
 	-Wpointer-arith -Wreturn-type	\
 	-Wwrite-strings -Wswitch -Wno-cast-align	\
-	-Wunused-parameter -Werror
+	-Wunused-parameter
 
 .include <bsd.lib.mk>