From f4cc6adcfeedce8090c735e6d1fff6123c72bd01 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 19 Jul 2022 19:24:19 -0700 Subject: [PATCH] curl: fix compilation with wolfSSL MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit options.h header is needed after bump of libwolfssl to version 5.5.1, otherwise libcurl autodetection for libwolfssl availability fails and libcurl is then compiled without https support. Fixes: #19547 Signed-off-by: Rosen Penev (cherry picked from commit 317575755a83fe21888439f1fd9adccca9e0f36e) (cherry picked from commit ef545e0317e06cb388eec33c9dc4292f09473fdb) Signed-off-by: Petr Å tetiar [commit verbosity] --- net/curl/patches/100-wolfssl.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 net/curl/patches/100-wolfssl.patch diff --git a/net/curl/patches/100-wolfssl.patch b/net/curl/patches/100-wolfssl.patch new file mode 100644 index 0000000000..d395a07c47 --- /dev/null +++ b/net/curl/patches/100-wolfssl.patch @@ -0,0 +1,10 @@ +--- a/m4/curl-wolfssl.m4 ++++ b/m4/curl-wolfssl.m4 +@@ -93,6 +93,7 @@ if test "x$OPT_WOLFSSL" != xno; then + They are set up properly later if it is detected. */ + #undef SIZEOF_LONG + #undef SIZEOF_LONG_LONG ++#include + #include + ]],[[ + return wolfSSL_Init(); -- 2.30.2