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)
Mon, Jun 24, 4:49 AM
Unknown Object (File)
Wed, Jun 5, 7:14 PM
Unknown Object (File)
May 26 2024, 2:55 AM
Unknown Object (File)
May 26 2024, 2:55 AM
Unknown Object (File)
May 26 2024, 2:55 AM
Unknown Object (File)
May 26 2024, 2:55 AM
Unknown Object (File)
May 24 2024, 7:04 AM
Unknown Object (File)
May 24 2024, 4:28 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