Created attachment 246818 [details] gdcm_fix_build_libressl Uses the BUF_memdup() function which was removed from LibreSSL. Attached patch adds a local copy when built with LibreSSL.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=003fde6b296d6047db112bb72e2f7a7eb794c4e8 commit 003fde6b296d6047db112bb72e2f7a7eb794c4e8 Author: Stephen Montgomery-Smith <stephen@FreeBSD.org> AuthorDate: 2023-12-07 05:44:17 +0000 Commit: Stephen Montgomery-Smith <stephen@FreeBSD.org> CommitDate: 2023-12-07 05:44:17 +0000 devel/gdcm: Fix build when with LibreSSL 3.8.2. gdcm uses the BUF_memdup() function which was removed from LibreSSL. Attached patch adds a local copy when built with LibreSSL. PR: 275568 Reported by: zirias@ ...gdcmOpenSSLCryptographicMessageSyntax.cxx (new) | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+)
Committed. Thank you very much.