Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/VcpkgPortOverlay/CreatePortOverlay.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ if ($StampFile) {

try {
New-PortOverlay cpprestsdk -Version 2.10.18 -PortVersion 4
# stdext::checked_array_iterator was removed in VS2026 (MSVC 19.43); replace with plain pointers.
Add-LocalPatch cpprestsdk 'fix-msvc-checked-array-iterator.patch'
Add-LocalPatch cpprestsdk 'add-server-certificate-validation.patch'

Expand Down
2 changes: 2 additions & 0 deletions src/VcpkgPortOverlay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ We add support for certificate pinning.
Note that we use v2.10.18, which is not the latest.

Changes:
* Add patch file: `fix-msvc-checked-array-iterator.patch`
* `stdext::checked_array_iterator` was removed in VS2026 (MSVC 19.43). This patch replaces its usages with plain pointers, which is equivalent since the `#else` branch already used plain pointers.
* Add patch file: `add-server-certificate-validation.patch`
* Patch source: https://github.com/microsoft/winget-cli/commit/888b4ed8f4f7d25cb05a47210e083fe29348163b

Expand Down
Loading