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, Sep 23, 1:50 PM
Unknown Object (File)
Sun, Sep 8, 5:56 PM
Unknown Object (File)
Thu, Sep 5, 11:58 PM
Unknown Object (File)
Sep 1 2024, 11:15 AM
Unknown Object (File)
Aug 30 2024, 4:20 PM
Unknown Object (File)
Aug 30 2024, 2:58 PM
Unknown Object (File)
Aug 30 2024, 2:58 PM
Unknown Object (File)
Aug 30 2024, 2:58 PM
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