This fix is pretty simple. files/patch-src_lftp__ssl.cc currently has #if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER as a past fix for libressl. Now the fix is #if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER < 0x03050000f Builds successfully on 13.1 stable
Hello, Thanks a lot for your report. That bug has already been fixed upstream: https://github.com/lavv17/lftp/commit/3ffa0132987bdde986c82c924bc51b13b37f8b54 so I'll just backport the patch. Cheers, Ganael.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a36ff5299c8de0f7a97093fcfe88a2befc0fe35 commit 9a36ff5299c8de0f7a97093fcfe88a2befc0fe35 Author: Ganael LAPLANCHE <martymac@FreeBSD.org> AuthorDate: 2022-10-05 18:38:05 +0000 Commit: Ganael LAPLANCHE <martymac@FreeBSD.org> CommitDate: 2022-10-05 18:45:45 +0000 ftp/lftp: Fix build with libressl >= 2.7.0 While here, re-generate patches using makepatch target. PR: 266803 Reported by: tjlegg@gmail.com Obtained from: https://github.com/lavv17/lftp/commit/3ffa0132987bdde986c82c924bc51b13b37f8b54 ftp/lftp/files/patch-src-Makefile.in | 4 ++-- ftp/lftp/files/patch-src_lftp__ssl.cc | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-)