[capnproto] Remove outdated patch. (#42062)

This commit is contained in:
Theodore Tsirpanis 2024-11-11 09:21:51 +01:00 committed by GitHub
parent a82743b554
commit e46cc24b3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 27 deletions

View File

@ -1,25 +0,0 @@
From da5b439b558e354a8fc59d09dff6a9eb657f54fd Mon Sep 17 00:00:00 2001
From: Stig Hornang <shornang@gmail.com>
Date: Mon, 28 Aug 2023 22:28:43 +0200
Subject: [PATCH] Disable C++20 co-routines
---
c++/src/kj/async-prelude.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c++/src/kj/async-prelude.h b/c++/src/kj/async-prelude.h
index 6289bf3f..c9845cdc 100644
--- a/c++/src/kj/async-prelude.h
+++ b/c++/src/kj/async-prelude.h
@@ -36,7 +36,7 @@
#if (__cpp_impl_coroutine >= 201902L) && __has_include(<coroutine>)
// C++20 Coroutines detected.
#include <coroutine>
-#define KJ_HAS_COROUTINE 1
+// #define KJ_HAS_COROUTINE 1
#define KJ_COROUTINE_STD_NAMESPACE std
#elif (__cpp_coroutines >= 201703L) && __has_include(<experimental/coroutine>)
// Coroutines TS detected.
--
2.41.0.windows.3

View File

@ -7,7 +7,6 @@ vcpkg_from_github(
SHA512 56551ecad52cf06e5dd52401e6d848eae41126c6ba2bb31a9ec1c82e1b47e0e6171d69db923c118c614aec0d396ddf35724081cccef3a605c39d0b5379a2c03e SHA512 56551ecad52cf06e5dd52401e6d848eae41126c6ba2bb31a9ec1c82e1b47e0e6171d69db923c118c614aec0d396ddf35724081cccef3a605c39d0b5379a2c03e
HEAD_REF master HEAD_REF master
PATCHES PATCHES
disable-C-20-co-routines.patch
undef-KJ_USE_EPOLL-for-ANDROID_PLATFORM-23.patch undef-KJ_USE_EPOLL-for-ANDROID_PLATFORM-23.patch
) )

View File

@ -1,6 +1,7 @@
{ {
"name": "capnproto", "name": "capnproto",
"version": "1.0.2", "version": "1.0.2",
"port-version": 1,
"description": "Data interchange format and capability-based RPC system", "description": "Data interchange format and capability-based RPC system",
"homepage": "https://capnproto.org/", "homepage": "https://capnproto.org/",
"license": "MIT", "license": "MIT",

View File

@ -1506,7 +1506,7 @@
}, },
"capnproto": { "capnproto": {
"baseline": "1.0.2", "baseline": "1.0.2",
"port-version": 0 "port-version": 1
}, },
"capstone": { "capstone": {
"baseline": "5.0.3", "baseline": "5.0.3",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "38a65f51f26928a3ea7bed90ada2ec4081091a6b",
"version": "1.0.2",
"port-version": 1
},
{ {
"git-tree": "52f73df5478fbcdb34b8dd5dd8d488672031cc32", "git-tree": "52f73df5478fbcdb34b8dd5dd8d488672031cc32",
"version": "1.0.2", "version": "1.0.2",