git: d85ea5acf922 - main - net/udt: maintainer update

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 02 Sep 2024 16:18:46 UTC
The branch main has been updated by pkubaj:

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

commit d85ea5acf9221a49e814d6208455dde1b29a4c12
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-09-02 15:31:59 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-09-02 16:18:43 +0000

    net/udt: maintainer update
    
    PR:     279341
    Submitted by:    Mikhail T. (maintainer)
---
 net/udt/Makefile          | 7 +++++--
 net/udt/files/BSDmakefile | 6 +++++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/net/udt/Makefile b/net/udt/Makefile
index 08fe1c9218f0..cdb54340c7a3 100644
--- a/net/udt/Makefile
+++ b/net/udt/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	udt
 PORTVERSION=	4.11
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net
 MASTER_SITES=	SF
 DISTNAME=	udt.sdk.${PORTVERSION}
@@ -9,6 +9,10 @@ MAINTAINER=	ports@virtual-estates.net
 COMMENT=	C++ library containing the UDT API implementation
 WWW=		http://udt.sourceforge.net/
 
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${PATCH_WRKSRC}/LICENSE.txt
+
+USES=		uidfix
 PATCH_WRKSRC=	${WRKDIR}/udt${PORTVERSION:R}
 WRKSRC=		${PATCH_WRKSRC}/src
 MAKEFILE=	${FILESDIR}/BSDmakefile
@@ -16,7 +20,6 @@ EXTRACT_AFTER_ARGS=	--exclude '*md5*'	\
 		--exclude udt${PORTVERSION:R}/win
 USE_LDCONFIG=	yes
 UDT_APPS=	appclient appserver recvfile sendfile test
-USES=		uidfix
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/net/udt/files/BSDmakefile b/net/udt/files/BSDmakefile
index 3abf7c5cad31..ca735d55e127 100644
--- a/net/udt/files/BSDmakefile
+++ b/net/udt/files/BSDmakefile
@@ -15,6 +15,10 @@ 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
+	-Wunused-parameter -Werror
+
+.if ${OSVERSION} >= 1401000
+CXXFLAGS+=	-Wno-vla-cxx-extension
+.endif
 
 .include <bsd.lib.mk>