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
Unknown Object (File)
Tue, Dec 10, 1:55 PM
Unknown Object (File)
Sun, Nov 24, 8:58 AM
Unknown Object (File)
Nov 16 2024, 4:37 PM
Unknown Object (File)
Oct 20 2024, 6:02 PM
Unknown Object (File)
Oct 20 2024, 6:02 PM
Unknown Object (File)
Oct 20 2024, 6:02 PM
Unknown Object (File)
Oct 20 2024, 6:02 PM
Unknown Object (File)
Oct 18 2024, 7:29 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
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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