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