neomutt-dont-detect-openssl.patch (1040B)
1 --- a/auto.def 2022-09-14 23:41:30.021069458 +0200 2 +++ b/auto.def 2022-09-14 23:42:04.372070462 +0200 3 @@ -813,12 +813,12 @@ 4 set ssl_cflags -I$ssl_prefix/include 5 set ssl_ldflags -L$ssl_prefix/$::libdir_tail 6 cc-with [list -libs $ssl_ldflags -cflags $ssl_cflags] { 7 - if {![cc-check-includes openssl/bio.h openssl/err.h openssl/ssl.h] || 8 - ![cc-check-function-in-lib X509_STORE_CTX_new crypto] || 9 - ![cc-check-function-in-lib SSL_new ssl] || 10 - ![cc-with {-includes openssl/ssl.h} {cc-check-decls SSL_set_mode}]} { 11 - user-error "Unable to find OpenSSL" 12 - } 13 + #if {![cc-check-includes openssl/bio.h openssl/err.h openssl/ssl.h] || 14 + # ![cc-check-function-in-lib X509_STORE_CTX_new crypto] || 15 + # ![cc-check-function-in-lib SSL_new ssl] || 16 + # ![cc-with {-includes openssl/ssl.h} {cc-check-decls SSL_set_mode}]} { 17 + # user-error "Unable to find OpenSSL" 18 + #} 19 define-append CFLAGS $ssl_cflags 20 define-append LDFLAGS $ssl_ldflags 21 }