From ce2e9ebb10142be8f5b115c906632b7df6af2693 Mon Sep 17 00:00:00 2001 From: Frank <65999885+FrankXie05@users.noreply.github.com> Date: Fri, 27 Sep 2024 15:39:43 +0000 Subject: [PATCH] [arsenalgear] Update version to 2.1.1 (#41182) --- ports/arsenalgear/disable-cppcheck.patch | 13 +++++++++++++ ports/arsenalgear/portfile.cmake | 4 +++- ports/arsenalgear/vcpkg.json | 2 +- versions/a-/arsenalgear.json | 19 ++++++++++++------- versions/baseline.json | 2 +- 5 files changed, 30 insertions(+), 10 deletions(-) create mode 100644 ports/arsenalgear/disable-cppcheck.patch diff --git a/ports/arsenalgear/disable-cppcheck.patch b/ports/arsenalgear/disable-cppcheck.patch new file mode 100644 index 0000000000..dd394f88a9 --- /dev/null +++ b/ports/arsenalgear/disable-cppcheck.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e5a01e7..ce1fa4f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -47,7 +47,7 @@ endif() + set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMPILE_FLAGS}" ) + + # Adding cppcheck properties +-if( CMAKE_BUILD_TYPE STREQUAL "Debug" ) ++if(0) + set( cppcheck cppcheck "--enable=warning" "--inconclusive" "--force" "--inline-suppr" ) + set_target_properties( arsenalgear PROPERTIES CXX_CPPCHECK ${cppcheck}) + endif() diff --git a/ports/arsenalgear/portfile.cmake b/ports/arsenalgear/portfile.cmake index 1e925843f0..6186089546 100644 --- a/ports/arsenalgear/portfile.cmake +++ b/ports/arsenalgear/portfile.cmake @@ -3,8 +3,10 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO JustWhit3/arsenalgear-cpp REF "v${VERSION}" - SHA512 27f2979da2d75851d5f8a63868d49b2f5b82064477a1c816667aaf0283e87f854712ab4aa473a3ef36c6ff895bb781c3b095ff617bf134051531aee9b8f03fd3 + SHA512 fd7a9029b74483dce4bac331b61fc76b3b7d2d9cf2cc43e45b3c7f1c3f458ccb3ca9cae779896a16cadf7fe6730db96ec3fa8a49972f8822b86b3f085d19fc71 HEAD_REF main + PATCHES + disable-cppcheck.patch ) # Main commands diff --git a/ports/arsenalgear/vcpkg.json b/ports/arsenalgear/vcpkg.json index ef8fcaff90..b717b04c70 100644 --- a/ports/arsenalgear/vcpkg.json +++ b/ports/arsenalgear/vcpkg.json @@ -1,6 +1,6 @@ { "name": "arsenalgear", - "version": "2.1.0", + "version": "2.1.1", "description": "A library containing general purpose C++ utils.", "homepage": "https://github.com/JustWhit3/arsenalgear-cpp", "license": "MIT", diff --git a/versions/a-/arsenalgear.json b/versions/a-/arsenalgear.json index 8fda07ba3b..d4d56667c4 100644 --- a/versions/a-/arsenalgear.json +++ b/versions/a-/arsenalgear.json @@ -1,9 +1,14 @@ { - "versions": [ - { - "git-tree": "a84d69248b9378514cab7ebc7d7a8901ee579542", - "version": "2.1.0", - "port-version": 0 - } - ] + "versions": [ + { + "git-tree": "92095c99ebc06217b1ba3d01ac35e7826b1d9391", + "version": "2.1.1", + "port-version": 0 + }, + { + "git-tree": "a84d69248b9378514cab7ebc7d7a8901ee579542", + "version": "2.1.0", + "port-version": 0 + } + ] } diff --git a/versions/baseline.json b/versions/baseline.json index 7ff74ce957..ead0e55a3d 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -249,7 +249,7 @@ "port-version": 0 }, "arsenalgear": { - "baseline": "2.1.0", + "baseline": "2.1.1", "port-version": 0 }, "ashes": {