Bug 261331 - devel/boost-libs: consumers of boost/asio fail to build with latest libressl 3.4.2
Summary: devel/boost-libs: consumers of boost/asio fail to build with latest libressl ...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-19 11:45 UTC by Felix Palmen
Modified: 2022-01-19 11:45 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (office)


Attachments
0001-devel-boost-libs-fix-consumer-builds-for-libressl (4.29 KB, patch)
2022-01-19 11:45 UTC, Felix Palmen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Palmen 2022-01-19 11:45:53 UTC
Created attachment 231154 [details]
0001-devel-boost-libs-fix-consumer-builds-for-libressl

With the latest LibreSSL, compiling software using boost/asio for ssl gives build errors like this:

---
In file included from /usr/local/include/boost/asio/ssl.hpp:18:
In file included from /usr/local/include/boost/asio/ssl/context.hpp:757:
/usr/local/include/boost/asio/ssl/impl/context.ipp:395:32: error: member access into incomplete type 'SSL_CTX' (aka 'ssl_ctx_st')
    void* cb_userdata = handle_->default_passwd_callback_userdata;
                               ^
---

The attached patch fixes this for me.