Page MenuHomeFreeBSD

net/qt5-network: fix build with LibreSSL 3.3.2
ClosedPublic

Authored by vishwin on Apr 21 2021, 6:12 AM.
Tags
None
Referenced Files
F142771985: D29877.id88672.diff
Fri, Jan 23, 10:01 AM
F142765062: D29877.id88672.diff
Fri, Jan 23, 8:15 AM
F142728170: D29877.id87851.diff
Thu, Jan 22, 6:48 PM
Unknown Object (File)
Nov 21 2025, 12:49 AM
Unknown Object (File)
Nov 21 2025, 12:41 AM
Unknown Object (File)
Nov 21 2025, 12:41 AM
Unknown Object (File)
Nov 21 2025, 12:40 AM
Unknown Object (File)
Nov 21 2025, 12:38 AM
Subscribers

Details

Summary

Since LibreSSL's libssl now exposes DTLS1_2_VERSION, configure detects DTLS support which changes the DTLSv1_listen(3) signature to one that LibreSSL has never supported. Force disable DTLS feature for SSL_DEFAULT=libressl or libressl-devel.

Based on: https://github.com/openbsd/ports/commit/9942e8d28c4ec59d8d4a20b8bf219b10573c1f31

Test Plan

Passes testport

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 38743
Build 35632: arc lint + arc unit

Event Timeline

tcberner added inline comments.
net/qt5-network/Makefile
31

^ ${SSL_DEFAULT:Mlibressl*} might work

Compact syntax for LibreSSL conditional, works

This revision is now accepted and ready to land.May 5 2021, 7:39 AM