commit 7cf3bfe424efafe1d6025ab34d86d4456c018c1c
parent abaca3b9bae81a2264740536b00259cf01449f5e
Author: emmett1 <emmett1.2miligrams@protonmail.com>
Date: Thu, 25 Sep 2025 23:58:21 +0000
cmake: added patch fix build with latest curl
Diffstat:
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/repos/extra/cmake/.checksum b/repos/extra/cmake/.checksum
@@ -1 +1,2 @@
9301d64661e2bc0530ed47665e3852d5376b2fc9da6714836356a56f89313a36 cmake-4.1.1.tar.gz
+9584a37c5b9b99918c8a285cae4b02b3ddf32b2af7b283f5574cbb74113bbca2 curl.patch
diff --git a/repos/extra/cmake/abuild b/repos/extra/cmake/abuild
@@ -1,7 +1,8 @@
name=cmake
version=4.1.1
release=1
-source="https://$name.org/files/v${version%.*}/$name-$version.tar.gz"
+source="https://$name.org/files/v${version%.*}/$name-$version.tar.gz
+ curl.patch"
build() {
if command -v cmake >/dev/null; then
diff --git a/repos/extra/cmake/curl.patch b/repos/extra/cmake/curl.patch
@@ -0,0 +1,12 @@
+diff -Naur cmake-3.31.8.orig/Source/CTest/cmCTestCurl.h cmake-3.31.8/Source/CTest/cmCTestCurl.h
+--- cmake-3.31.8.orig/Source/CTest/cmCTestCurl.h 2025-09-12 16:34:29.585631359 +0200
++++ cmake-3.31.8/Source/CTest/cmCTestCurl.h 2025-09-12 16:34:56.632659149 +0200
+@@ -52,7 +52,7 @@
+ 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;