Created attachment 191791 [details] patch The attached patch fixes building with LibreSSL 2.7. It was tested with base OpenSSL 1.0.1 and LibreSSL 2.7. LibreSSL 2.6 is not affected by this patch.
Add upstream pull-request
Hi Martin, The upstream project imported this patch into their sources. https://github.com/libevent/libevent/commit/28b8075400c70b2d2da2ce07e590c2ec6d11783d Can you have a look and add it to the FreeBSD ports tree? Last week LibreSSL 2.7.2 was released which is tagged STABLE and part of OpenBSD 6.3. This PR is blocking updating of the devel/libressl-devel port. Thanks! Bernard.
A commit references this bug: Author: brnrd Date: Sat Apr 21 19:39:39 UTC 2018 New revision: 467904 URL: https://svnweb.freebsd.org/changeset/ports/467904 Log: devel/libevent: Fix build with LibreSSL 2.7 - LibreSSL 2.7 implements most of OpenSSL 1.1 API PR: 226900 Reported by: Piotr Kubaj <pkubaj anongoth pl> Approved by: maintainer time-out Changes: head/devel/libevent/files/patch-libressl