cmake: backport curl 8.16 compatibility fix (#425701)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
diff --git a/Source/CTest/cmCTestCurl.h b/Source/CTest/cmCTestCurl.h
|
||||
index 7836f4b9c78a1d103eee515d618856a6712b4480..9113890b5a12cb157b691b66d96e25d0fd4b50ef 100644
|
||||
--- a/Source/CTest/cmCTestCurl.h
|
||||
+++ b/Source/CTest/cmCTestCurl.h
|
||||
@@ -52,7 +52,7 @@ private:
|
||||
std::vector<std::string> HttpHeaders;
|
||||
std::string HTTPProxyAuth;
|
||||
std::string HTTPProxy;
|
||||
- curl_proxytype HTTPProxyType;
|
||||
+ long HTTPProxyType;
|
||||
bool UseHttp10 = false;
|
||||
bool Quiet = false;
|
||||
int TimeOutSeconds = 0;
|
||||
@@ -75,6 +75,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# Backport of https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9900
|
||||
# Needed to correctly link curl in pkgsStatic.
|
||||
./008-FindCURL-Add-more-target-properties-from-pkg-config.diff
|
||||
# Backport of https://gitlab.kitware.com/cmake/cmake/-/merge_requests/11134
|
||||
# Fixes build against curl 8.16 and later
|
||||
./009-cmCTestCurl-Avoid-using-undocumented-type-for-CURLOPT_PROXYTYPE-values.diff
|
||||
];
|
||||
|
||||
outputs = [
|
||||
|
||||
Reference in New Issue
Block a user