aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-09-26 00:00:13 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-09-26 00:00:13 +0000
commit94553a86d352ce750fb90e8522253a4aaece6468 (patch)
treeab0197db8c1060aaaed7021b84a8d6825555fff0 /cmake
parent7c87e38c1d521805c6cdeb0f660fa9bbe0c3a475 (diff)
downloadalicelinux-94553a86d352ce750fb90e8522253a4aaece6468.tar.gz
alicelinux-94553a86d352ce750fb90e8522253a4aaece6468.zip
Woodpecker CI 4eb8a9d48cc6f098abcd134ebec2ba629e435701 [SKIP CI]
Diffstat (limited to 'cmake')
-rw-r--r--cmake/.checksum1
-rw-r--r--cmake/abuild3
-rw-r--r--cmake/curl.patch12
3 files changed, 15 insertions, 1 deletions
diff --git a/cmake/.checksum b/cmake/.checksum
index 1dedc0d2..87746ce6 100644
--- a/cmake/.checksum
+++ b/cmake/.checksum
@@ -1 +1,2 @@
9301d64661e2bc0530ed47665e3852d5376b2fc9da6714836356a56f89313a36 cmake-4.1.1.tar.gz
+9584a37c5b9b99918c8a285cae4b02b3ddf32b2af7b283f5574cbb74113bbca2 curl.patch
diff --git a/cmake/abuild b/cmake/abuild
index 8ee4fdd1..a7a344ca 100644
--- a/cmake/abuild
+++ b/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/cmake/curl.patch b/cmake/curl.patch
new file mode 100644
index 00000000..c72fa19d
--- /dev/null
+++ b/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;