From 533de40d0dd04420b5c7fb768bfb5c210b88d8e9 Mon Sep 17 00:00:00 2001 From: toge Date: Mon, 10 Aug 2026 01:28:08 +0900 Subject: [PATCH 1/2] [cli11] update to 2.7.2 --- ports/cli11/portfile.cmake | 2 +- ports/cli11/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/c-/cli11.json | 5 +++++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ports/cli11/portfile.cmake b/ports/cli11/portfile.cmake index 5aa1bcd83238ab..e9b4fc9b796d3c 100644 --- a/ports/cli11/portfile.cmake +++ b/ports/cli11/portfile.cmake @@ -2,7 +2,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO CLIUtils/CLI11 REF "v${VERSION}" - SHA512 3b17c02e120d6c14246157fcfef1e55c34462d8ee3adb55e49f4b180fc2e0d52ec4371505c009839c623ccc5bf4ac16c8c94707d10b1f1cb0e916c3402d2e7a6 + SHA512 437cd9d704c1b0de0516bdc8cb115befb2e7170417375a64845a2bc2385fa07948c4af724ec615d27fbc102dbe13a7117f33873d6776fe9b17f293d42fe64dd9 HEAD_REF main PATCHES revert-1012-pkgconfig.diff diff --git a/ports/cli11/vcpkg.json b/ports/cli11/vcpkg.json index 53229902ba640d..2abd5a9a17cd91 100644 --- a/ports/cli11/vcpkg.json +++ b/ports/cli11/vcpkg.json @@ -1,6 +1,6 @@ { "name": "cli11", - "version": "2.6.2", + "version": "2.7.2", "description": "CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.", "homepage": "https://github.com/CLIUtils/CLI11", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index db58016fadd36c..eb1f68dcc8cf23 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1825,7 +1825,7 @@ "port-version": 0 }, "cli11": { - "baseline": "2.6.2", + "baseline": "2.7.2", "port-version": 0 }, "clickhouse-cpp": { diff --git a/versions/c-/cli11.json b/versions/c-/cli11.json index d3f19eb6102105..4e1bde4f2eeae8 100644 --- a/versions/c-/cli11.json +++ b/versions/c-/cli11.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "9530e24571c6696477c4d714f6a34e6780bfd9d7", + "version": "2.7.2", + "port-version": 0 + }, { "git-tree": "1f36dca09497113c4abf001a5e610eccff567d79", "version": "2.6.2", From c920b292d83cbd9ec76bc4f69ae3e14f55a76d7d Mon Sep 17 00:00:00 2001 From: toge Date: Mon, 10 Aug 2026 02:03:51 +0900 Subject: [PATCH 2/2] force static build on windows --- ports/cli11/portfile.cmake | 5 +++++ versions/c-/cli11.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ports/cli11/portfile.cmake b/ports/cli11/portfile.cmake index e9b4fc9b796d3c..6f9db640808594 100644 --- a/ports/cli11/portfile.cmake +++ b/ports/cli11/portfile.cmake @@ -1,3 +1,8 @@ +# cli/2.7.2 has no dllexport annotations, so shared build yields a DLL without exports. +if(VCPKG_TARGET_IS_WINDOWS) + set(VCPKG_LIBRARY_LINKAGE static) +endif() + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO CLIUtils/CLI11 diff --git a/versions/c-/cli11.json b/versions/c-/cli11.json index 4e1bde4f2eeae8..e2981dfa6655b0 100644 --- a/versions/c-/cli11.json +++ b/versions/c-/cli11.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "9530e24571c6696477c4d714f6a34e6780bfd9d7", + "git-tree": "62edeef0f408c3143653e2fdf85c7ab04743c66a", "version": "2.7.2", "port-version": 0 },