Bug 279341

Summary: net/udt -- maintainer update
Product: Ports & Packages Reporter: Mikhail T. <freebsd-2024>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Only Me CC: diizzy, fernape
Priority: --- Keywords: easy, patch-ready
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
The patch
freebsd-2024: maintainer-approval+
Only use -Wno-vla-cxx-extension on FreeBSD-14.x and up freebsd-2024: maintainer-approval+

Description Mikhail T. 2024-05-26 23:43:26 UTC
Created attachment 251006 [details]
The patch

The attached patch turns off the warning now appearing on the newest FreeBSD-versions:

> error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension]

The code in question is added by my own patch-md5, and determines the size of an automatic char[] depending on whether IPv4 or v6 is used.

The change explicitly turns off the warning.

While here we also add another small patch submitted upstream (years ago) and, drum-roll, define the LICENSE! These two addition warrant the PORTREVISION bump,
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2024-05-26 23:43:26 UTC
Maintainer informed via mail
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2024-06-06 07:43:59 UTC
Hi,

Fails to build
https://pdr2.bofh.network/data/132-diizzy/2024-06-06_02h42m26s/logs/errors/udt-4.11_3.log

Best regards,
Daniel
Comment 3 Mikhail T. 2024-06-06 13:15:55 UTC
Created attachment 251253 [details]
Only use -Wno-vla-cxx-extension on FreeBSD-14.x and up