cmake: update to 3.27.3.

This commit is contained in:
Đoàn Trần Công Danh 2023-08-18 19:50:28 +07:00
parent 942ec9406b
commit c898dbc8fd
3 changed files with 2 additions and 36 deletions

View File

@ -1,23 +0,0 @@
--- a/Tests/CMakeLib/testDebuggerNamedPipe.cxx
+++ b/Tests/CMakeLib/testDebuggerNamedPipe.cxx
@@ -180,13 +180,13 @@ int runTest(int argc, char* argv[])
auto debuggerResponse = debuggerResponseStream.str();
std::vector<std::string> expectedResponses = {
- R"("event" : "initialized".*"type" : "event")",
- R"("command" : "launch".*"success" : true.*"type" : "response")",
- R"("command" : "configurationDone".*"success" : true.*"type" : "response")",
- R"("reason" : "started".*"threadId" : 1.*"event" : "thread".*"type" : "event")",
- R"("reason" : "exited".*"threadId" : 1.*"event" : "thread".*"type" : "event")",
- R"("exitCode" : 0.*"event" : "exited".*"type" : "event")",
- R"("command" : "disconnect".*"success" : true.*"type" : "response")"
+ R"("event" *: *"initialized".*"type" *: *"event")",
+ R"("command" *: *"launch".*"success" *: *true.*"type" *: *"response")",
+ R"("command" *: *"configurationDone".*"success" *: *true.*"type" *: *"response")",
+ R"("reason" *: *"started".*"threadId" *: *1.*"event" *: *"thread".*"type" *: *"event")",
+ R"("reason" *: *"exited".*"threadId" *: *1.*"event" *: *"thread".*"type" *: *"event")",
+ R"("exitCode" *: *0.*"event" *: *"exited".*"type" *: *"event")",
+ R"("command" *: *"disconnect".*"success" *: *true.*"type" *: *"response")"
};
for (auto& regexString : expectedResponses) {

View File

@ -1,11 +0,0 @@
We will run cmake ourselves with our flags
--- a/bootstrap
+++ b/bootstrap
@@ -2076,6 +2076,7 @@ export CFLAGS
export CXXFLAGS
export LDFLAGS
+exit 0
# Run bootstrap CMake to configure real CMake
cmake_options="-DCMAKE_BOOTSTRAP=1"
if test -n "${cmake_verbose}"; then

View File

@ -1,6 +1,6 @@
# Template file for 'cmake'
pkgname=cmake
version=3.27.2
version=3.27.3
revision=1
build_style=cmake
configure_args="-DCMAKE_DOC_DIR=/share/doc/cmake
@ -17,7 +17,7 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="BSD-3-Clause, ICU"
homepage="https://www.cmake.org"
distfiles="https://www.cmake.org/files/v${version%.*}/${pkgname}-${version}.tar.gz"
checksum=798e50085d423816fe96c9ef8bee5e50002c9eca09fed13e300de8a91d35c211
checksum=66afdc0f181461b70b6fedcde9ecc4226c5cd184e7203617c83b7d8e47f49521
if [ "$XBPS_TARGET_LIBC" = musl ]; then
configure_args+=" -DCMake_NO_SELF_BACKTRACE=1"