Skip to content

Commit

Permalink
fix getaddrinfo curl build regression
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 27, 2023
1 parent 9c59ba8 commit 8323a0f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export CURL_HASH=16c62a9c4af0f703d28bda6d7bbf37ba47055ad3414d70dec63e2e6336f2a82
# Create revision string
# NOTE: Set _REV to 1 after bumping CURL_VER_, then increment for each
# CI rebuild via `main` branch push (e.g. after bumping a dependency).
export _REV="${CW_REVISION:-5}"
export _REV="${CW_REVISION:-6}"

export CACERT_VER_='2023-08-22'
export CACERT_HASH=23c2469e2a568362a62eecf1b49ed90a15621e6fa30e29947ded3436422de9b9
Expand Down
1 change: 1 addition & 0 deletions curl.dev.patch
16 changes: 16 additions & 0 deletions curl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index ba14972e2..4ee0aa0a3 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -28,6 +28,11 @@
#define CURL_NO_OLDIES
#endif

+/* Set default _WIN32_WINNT */
+#ifdef __MINGW32__
+#include <_mingw.h>
+#endif
+
/*
* Disable Visual Studio warnings:
* 4127 "conditional expression is constant"
1 change: 1 addition & 0 deletions curl.test.patch

0 comments on commit 8323a0f

Please sign in to comment.