From 2077bde4c88f4ba5d377caa4a101b6beade15198 Mon Sep 17 00:00:00 2001 From: jim wang <122244446+jimwang118@users.noreply.github.com> Date: Tue, 10 Sep 2024 21:31:31 +0000 Subject: [PATCH] [microsoft-signalr] Add missing header files (#40873) --- ports/microsoft-signalr/fix-miss-header.patch | 36 +++++++++++++++++++ ports/microsoft-signalr/portfile.cmake | 1 + ports/microsoft-signalr/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/m-/microsoft-signalr.json | 5 +++ 5 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 ports/microsoft-signalr/fix-miss-header.patch diff --git a/ports/microsoft-signalr/fix-miss-header.patch b/ports/microsoft-signalr/fix-miss-header.patch new file mode 100644 index 0000000000..f929c373f6 --- /dev/null +++ b/ports/microsoft-signalr/fix-miss-header.patch @@ -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 + + 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 + + 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 + + namespace signalr + { diff --git a/ports/microsoft-signalr/portfile.cmake b/ports/microsoft-signalr/portfile.cmake index 9fb32c3303..96dd2d53e9 100644 --- a/ports/microsoft-signalr/portfile.cmake +++ b/ports/microsoft-signalr/portfile.cmake @@ -16,6 +16,7 @@ vcpkg_from_github( PATCHES find-msgpack.patch "${PATCH_FIX_GCC_13_COMPILATION}" + fix-miss-header.patch ) vcpkg_check_features( diff --git a/ports/microsoft-signalr/vcpkg.json b/ports/microsoft-signalr/vcpkg.json index 7d79186ce5..502101e735 100644 --- a/ports/microsoft-signalr/vcpkg.json +++ b/ports/microsoft-signalr/vcpkg.json @@ -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": [ diff --git a/versions/baseline.json b/versions/baseline.json index 8918c3292a..9cb50e29e3 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5850,7 +5850,7 @@ }, "microsoft-signalr": { "baseline": "0.1.0-alpha4", - "port-version": 11 + "port-version": 12 }, "mikktspace": { "baseline": "2020-10-06", diff --git a/versions/m-/microsoft-signalr.json b/versions/m-/microsoft-signalr.json index 23f45ebda8..7a0831f88a 100644 --- a/versions/m-/microsoft-signalr.json +++ b/versions/m-/microsoft-signalr.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "fbeec8cc91b3ef1fd17afc17a0cb7361138ab1a6", + "version": "0.1.0-alpha4", + "port-version": 12 + }, { "git-tree": "2b29ee52721e3f9ba79a0348a731d9f8a26ef89a", "version": "0.1.0-alpha4",