Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[microsoft-signalr] Add missing header files #40873

Merged
merged 2 commits into from
Sep 10, 2024
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
36 changes: 36 additions & 0 deletions ports/microsoft-signalr/fix-miss-header.patch
Original file line number Diff line number Diff line change
@@ -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
{
1 change: 1 addition & 0 deletions ports/microsoft-signalr/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ vcpkg_from_github(
PATCHES
find-msgpack.patch
"${PATCH_FIX_GCC_13_COMPILATION}"
fix-miss-header.patch
)

vcpkg_check_features(
Expand Down
2 changes: 1 addition & 1 deletion ports/microsoft-signalr/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "microsoft-signalr",
"version": "0.1.0-alpha4",
"port-version": 11,
"port-version": 12,
"description": "C++ Client for ASP.NET Core SignalR.",
"homepage": "https://github.com/aspnet/SignalR-Client-Cpp",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5842,7 +5842,7 @@
},
"microsoft-signalr": {
"baseline": "0.1.0-alpha4",
"port-version": 11
"port-version": 12
},
"mikktspace": {
"baseline": "2020-10-06",
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/microsoft-signalr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "fbeec8cc91b3ef1fd17afc17a0cb7361138ab1a6",
"version": "0.1.0-alpha4",
"port-version": 12
},
{
"git-tree": "2b29ee52721e3f9ba79a0348a731d9f8a26ef89a",
"version": "0.1.0-alpha4",
Expand Down
Loading