aboutsummaryrefslogtreecommitdiff
path: root/ports/coroutine
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2021-08-04 13:27:40 -0700
committerGitHub <noreply@github.com>2021-08-04 13:27:40 -0700
commitff190a561ad8903086ac72f65b05798058045435 (patch)
tree2de7d0252e06dcd6db80aac20d0d73a763f64052 /ports/coroutine
parentbd5ea16b97e91cb620fed0e10b7d9b3a8a943a52 (diff)
downloadvcpkg-ff190a561ad8903086ac72f65b05798058045435.tar.gz
vcpkg-ff190a561ad8903086ac72f65b05798058045435.zip
[macos ci] update 2021-07-27 (#19207)
* update 2021-07-27 macOS -> 11.5.1, XCode -> 12.5.1 * update azure-pipelines * update sha of macfuse * change how macos-ci-base works * fix build errors * fix itpp:linux * more fixes * remove tab * allow version changes in all the remove/rename-version patches * fix libunistring for real * robert CR
Diffstat (limited to 'ports/coroutine')
-rw-r--r--ports/coroutine/add-noexcept-to-frame.patch13
-rw-r--r--ports/coroutine/portfile.cmake4
-rw-r--r--ports/coroutine/vcpkg.json2
3 files changed, 17 insertions, 2 deletions
diff --git a/ports/coroutine/add-noexcept-to-frame.patch b/ports/coroutine/add-noexcept-to-frame.patch
new file mode 100644
index 000000000..fe5c6c6d3
--- /dev/null
+++ b/ports/coroutine/add-noexcept-to-frame.patch
@@ -0,0 +1,13 @@
+--- a/interface/coroutine/frame.h
++++ a/interface/coroutine/frame.h
+@@ -119,8 +119,8 @@
+ return *this;
+ }
+ // 17.12.3.2, export/import
+- static /*constexpr*/ coroutine_handle from_address(void* _Addr) {
++ static /*constexpr*/ coroutine_handle from_address(void* _Addr) noexcept {
+ coroutine_handle _Result{};
+ _Result._Ptr = reinterpret_cast<portable_coro_prefix*>(_Addr);
+ return _Result;
+ }
+
diff --git a/ports/coroutine/portfile.cmake b/ports/coroutine/portfile.cmake
index 3c5f27b72..1326b5a7d 100644
--- a/ports/coroutine/portfile.cmake
+++ b/ports/coroutine/portfile.cmake
@@ -10,7 +10,9 @@ vcpkg_from_github(
REF 1.5.0
SHA512 61b91fdc641b6905b884e99c5bf193ec2cf6962144ab3baafdb9432115757d96f3797f116b30356f0d21417b23082bc908f75042721caeab3329c4910b654594
HEAD_REF master
- PATCHES fix-errorC7651.patch
+ PATCHES
+ fix-errorC7651.patch
+ add-noexcept-to-frame.patch
)
vcpkg_configure_cmake(
diff --git a/ports/coroutine/vcpkg.json b/ports/coroutine/vcpkg.json
index 4e7134128..8c557f6fa 100644
--- a/ports/coroutine/vcpkg.json
+++ b/ports/coroutine/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "coroutine",
"version-string": "1.5.0",
- "port-version": 1,
+ "port-version": 2,
"description": "C++ 20 Coroutines helper/example library",
"homepage": "https://github.com/luncliff/coroutine",
"supports": "!uwp",