Bug 279341 - net/udt -- maintainer update
Summary: net/udt -- maintainer update
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: easy, patch-ready
Depends on:
Blocks:
 
Reported: 2024-05-26 23:43 UTC by Mikhail T.
Modified: 2024-06-06 14:47 UTC (History)
2 users (show)

See Also:


Attachments
The patch (1.70 KB, patch)
2024-05-26 23:43 UTC, Mikhail T.
freebsd-2024: maintainer-approval+
Details | Diff
Only use -Wno-vla-cxx-extension on FreeBSD-14.x and up (1.93 KB, patch)
2024-06-06 13:15 UTC, Mikhail T.
freebsd-2024: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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