From 3468a5f0bc3c19b3abe54c8d17310eb90679cc79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 25 Dec 2023 09:14:44 +0700 Subject: [PATCH] cmake-bootstrap: clarify that this cmake has no network support --- srcpkgs/cmake-bootstrap/patches/no-network.patch | 11 +++++++++++ srcpkgs/cmake-bootstrap/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cmake-bootstrap/patches/no-network.patch b/srcpkgs/cmake-bootstrap/patches/no-network.patch index 76cdfa97e96..5d2d8bec2a5 100644 --- a/srcpkgs/cmake-bootstrap/patches/no-network.patch +++ b/srcpkgs/cmake-bootstrap/patches/no-network.patch @@ -174,3 +174,14 @@ mark_as_advanced(CURL_DISABLE_FTP) option(CURL_DISABLE_GETOPTIONS "disables curl_easy_options API for existing options to curl_easy_setopt" OFF) mark_as_advanced(CURL_DISABLE_GETOPTIONS) +--- a/Utilities/cmcurl/lib/strerror.c ++++ b/Utilities/cmcurl/lib/strerror.c +@@ -61,7 +61,7 @@ curl_easy_strerror(CURLcode error) + return "No error"; + + case CURLE_UNSUPPORTED_PROTOCOL: +- return "Unsupported protocol"; ++ return "Unsupported protocol, xbps-src's cmake has no network"; + + case CURLE_FAILED_INIT: + return "Failed initialization"; diff --git a/srcpkgs/cmake-bootstrap/template b/srcpkgs/cmake-bootstrap/template index 7200ccd7d31..88d872264c9 100644 --- a/srcpkgs/cmake-bootstrap/template +++ b/srcpkgs/cmake-bootstrap/template @@ -1,7 +1,7 @@ # Template file for 'cmake-bootstrap' pkgname=cmake-bootstrap version=3.27.6 -revision=1 +revision=2 build_style=cmake configure_args="-DCMake_INSTALL_INFIX=libexec/xbps-src/ -DCMAKE_SKIP_BOOTSTRAP_TEST=1 -DCMAKE_SKIP_RPATH=OFF