mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 02:48:59 +08:00
[microsoft-signalr] Add missing header files (#40873)
This commit is contained in:
parent
5d1ecfd3d2
commit
2077bde4c8
36
ports/microsoft-signalr/fix-miss-header.patch
Normal file
36
ports/microsoft-signalr/fix-miss-header.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
diff --git a/src/signalrclient/binary_message_parser.h b/src/signalrclient/binary_message_parser.h
|
||||||
|
index 349b979..f33533d 100644
|
||||||
|
--- a/src/signalrclient/binary_message_parser.h
|
||||||
|
+++ b/src/signalrclient/binary_message_parser.h
|
||||||
|
@@ -5,6 +5,7 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#ifdef USE_MSGPACK
|
||||||
|
+#include <cstddef>
|
||||||
|
|
||||||
|
namespace signalr
|
||||||
|
{
|
||||||
|
diff --git a/src/signalrclient/signalr_client_config.cpp b/src/signalrclient/signalr_client_config.cpp
|
||||||
|
index adbc3ae..dbca837 100644
|
||||||
|
--- a/src/signalrclient/signalr_client_config.cpp
|
||||||
|
+++ b/src/signalrclient/signalr_client_config.cpp
|
||||||
|
@@ -5,6 +5,7 @@
|
||||||
|
#include "stdafx.h"
|
||||||
|
#include "signalrclient/signalr_client_config.h"
|
||||||
|
#include "signalr_default_scheduler.h"
|
||||||
|
+#include <stdexcept>
|
||||||
|
|
||||||
|
namespace signalr
|
||||||
|
{
|
||||||
|
diff --git a/src/signalrclient/transport_factory.cpp b/src/signalrclient/transport_factory.cpp
|
||||||
|
index 7443672..a8add79 100644
|
||||||
|
--- a/src/signalrclient/transport_factory.cpp
|
||||||
|
+++ b/src/signalrclient/transport_factory.cpp
|
||||||
|
@@ -6,6 +6,7 @@
|
||||||
|
#include "transport_factory.h"
|
||||||
|
#include "websocket_transport.h"
|
||||||
|
#include "signalrclient/websocket_client.h"
|
||||||
|
+#include <stdexcept>
|
||||||
|
|
||||||
|
namespace signalr
|
||||||
|
{
|
@ -16,6 +16,7 @@ vcpkg_from_github(
|
|||||||
PATCHES
|
PATCHES
|
||||||
find-msgpack.patch
|
find-msgpack.patch
|
||||||
"${PATCH_FIX_GCC_13_COMPILATION}"
|
"${PATCH_FIX_GCC_13_COMPILATION}"
|
||||||
|
fix-miss-header.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_check_features(
|
vcpkg_check_features(
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "microsoft-signalr",
|
"name": "microsoft-signalr",
|
||||||
"version": "0.1.0-alpha4",
|
"version": "0.1.0-alpha4",
|
||||||
"port-version": 11,
|
"port-version": 12,
|
||||||
"description": "C++ Client for ASP.NET Core SignalR.",
|
"description": "C++ Client for ASP.NET Core SignalR.",
|
||||||
"homepage": "https://github.com/aspnet/SignalR-Client-Cpp",
|
"homepage": "https://github.com/aspnet/SignalR-Client-Cpp",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -5850,7 +5850,7 @@
|
|||||||
},
|
},
|
||||||
"microsoft-signalr": {
|
"microsoft-signalr": {
|
||||||
"baseline": "0.1.0-alpha4",
|
"baseline": "0.1.0-alpha4",
|
||||||
"port-version": 11
|
"port-version": 12
|
||||||
},
|
},
|
||||||
"mikktspace": {
|
"mikktspace": {
|
||||||
"baseline": "2020-10-06",
|
"baseline": "2020-10-06",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "fbeec8cc91b3ef1fd17afc17a0cb7361138ab1a6",
|
||||||
|
"version": "0.1.0-alpha4",
|
||||||
|
"port-version": 12
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "2b29ee52721e3f9ba79a0348a731d9f8a26ef89a",
|
"git-tree": "2b29ee52721e3f9ba79a0348a731d9f8a26ef89a",
|
||||||
"version": "0.1.0-alpha4",
|
"version": "0.1.0-alpha4",
|
||||||
|
Loading…
Reference in New Issue
Block a user