On Sun, 25 May 2025, Brian Inglis via Cygwin wrote:

> So please try installing the relevant Cygwin/Mingw64 OpenSSL test packages,
> with
> the latest curl packages, retest and report, if you don't mind.
>

I've got 'dist' tarballs built for Cygwin, in
https://github.com/jeremyd2019/rust/releases/tag/cygwin-3e674b06b .  If
someone else wants to play with them without fighting to get the initial
cross-compile to work.  Now I can try the test build and unmodified curl.
To build these, I used my libgit2.cygport, plus

diff --git a/openssl.cygport b/openssl.cygport
index 4e29520..247efed 100644
--- a/openssl.cygport
+++ b/openssl.cygport
@@ -40,6 +40,7 @@ PATCH_URI="
   0051-Support-different-R_BITS-lengths-for-KBKDF.patch
   fedora/0052-Allow-SHA1-in-seclevel-1-if-rh-allow-sha1-signatures.patch
   0100-RSA-PKCS15-implicit-rejection.patch
+  
https://raw.githubusercontent.com/msys2/MSYS2-packages/9768c4d41b4641b1f2008f3b80d9705406d4f562/openssl/0005-skip-dllmain-detach.patch
 "
 #
 PKG_NAMES="openssl openssl-perl libssl3 libssl-devel"


diff --git a/curl.cygport b/curl.cygport
index c0423b6..9de3cbe 100644
--- a/curl.cygport
+++ b/curl.cygport
@@ -30,7 +30,7 @@ wcurl_VERSION=2025.02.24
 GIT_URI=https://github.com/$BASE/w$BASE
 GIT_ARCHIVE=$GIT_URI/archive/refs/tags/v$wcurl_VERSION.tar.gz
 SRC_URI+=" $GIT_ARCHIVE#/w$BASE-$wcurl_VERSION.tar.gz"
-PATCH_URI=
+PATCH_URI="https://raw.githubusercontent.com/msys2/MSYS2-packages/9768c4d41b4641b1f2008f3b80d9705406d4f562/curl/openssl-no-cleanup.patch";
 #      7.71.1-2-curl-config.in.patch
 #      7.71.1-2-libstubgss-no-undefined.patch
 #      curl-8.1.2-tests-pathhelp-pm-Cygwin-not-Win.patch


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to