diff -Nurd lftp-4.9.2.orig/configure lftp-4.9.2/configure --- lftp-4.9.2.orig/configure 2020-08-13 15:57:05.000000000 -0400 +++ lftp-4.9.2/configure 2022-05-22 00:50:58.000000000 -0400 @@ -57428,6 +57428,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include int main() { diff -Nurd lftp-4.9.2.orig/src/lftp_ssl.cc lftp-4.9.2/src/lftp_ssl.cc --- lftp-4.9.2.orig/src/lftp_ssl.cc 2020-01-29 15:36:37.000000000 -0500 +++ lftp-4.9.2/src/lftp_ssl.cc 2022-05-22 00:48:26.000000000 -0400 @@ -854,8 +854,12 @@ } opt_table[]={ {"-SSL3.0",SSL_OP_NO_SSLv3}, {"-TLS1.0",SSL_OP_NO_TLSv1}, +#ifdef SSL_OP_NO_TLSv1_1 {"-TLS1.1",SSL_OP_NO_TLSv1_1}, +#endif +#ifdef SSL_OP_NO_TLSv1_2 {"-TLS1.2",SSL_OP_NO_TLSv1_2}, +#endif {"",0} }; char *to_parse=alloca_strdup(priority); diff -Nurd lftp-4.9.2.orig/src/module.cc lftp-4.9.2/src/module.cc --- lftp-4.9.2.orig/src/module.cc 2016-02-20 08:57:53.000000000 -0500 +++ lftp-4.9.2/src/module.cc 2022-05-22 00:48:57.000000000 -0400 @@ -117,7 +117,7 @@ /* dlopen can take a file without extension and automatically do the * right thing, however that doesn't fit with this code that tries to * stat before the dlopen call, hence need some help here */ -#if defined(__MACH__) && defined(__APPLE__) +#if 0 static const char ext[] = ".bundle"; #else static const char ext[] = ".so";