From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- opt/netsurf/libressl-3.5.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 opt/netsurf/libressl-3.5.patch (limited to 'opt/netsurf/libressl-3.5.patch') diff --git a/opt/netsurf/libressl-3.5.patch b/opt/netsurf/libressl-3.5.patch new file mode 100644 index 0000000..84c6d6e --- /dev/null +++ b/opt/netsurf/libressl-3.5.patch @@ -0,0 +1,23 @@ +--- a/content/fetchers/about/certificate.c ++++ b/content/fetchers/about/certificate.c +@@ -137,7 +137,8 @@ static nserror free_ns_cert_info(struct ns_cert_info *cinfo) + /* OpenSSL 1.0.x, 1.0.2, 1.1.0 and 1.1.1 API all changed + * LibreSSL declares its OpenSSL version as 2.1 but only supports 1.0.x API + */ +-#if (defined(LIBRESSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER < 0x1010000fL)) ++#if (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3050000fL) || \ ++ (OPENSSL_VERSION_NUMBER < 0x1010000fL) + /* 1.0.x */ + + #if (defined(LIBRESSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER < 0x1000200fL)) +--- a/content/fetchers/curl.c ++++ b/content/fetchers/curl.c +@@ -98,7 +98,7 @@ + /* OpenSSL 1.0.x to 1.1.0 certificate reference counting changed + * LibreSSL declares its OpenSSL version as 2.1 but only supports the old way + */ +-#if (defined(LIBRESSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER < 0x1010000fL)) ++#if (OPENSSL_VERSION_NUMBER < 0x1010000fL) + static int ns_X509_up_ref(X509 *cert) + { + cert->references++; -- cgit v1.3.1