[wampcc] fix feature examples under gcc-11 (#32410)

This commit is contained in:
autoantwort 2023-07-06 20:05:14 +02:00 committed by GitHub
parent 3a5f4bf44a
commit 5c4654cf3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 2 deletions

19
ports/wampcc/gcc-11.patch Normal file
View File

@ -0,0 +1,19 @@
diff --git a/examples/message_server/message_subscriber.cc b/examples/message_server/message_subscriber.cc
index ba40a332..4ac75ef7 100644
--- a/examples/message_server/message_subscriber.cc
+++ b/examples/message_server/message_subscriber.cc
@@ -7,13 +7,9 @@
#include "wampcc/kernel.h"
#include "wampcc/data_model.h"
-#include "wampcc/tcp_socket.h"
-#include "wampcc/wamp_session.h"
#include "wampcc/rawsocket_protocol.h"
-#include <memory>
-#include <iostream>
-
+#include <thread>
void on_string_change(const wampcc::string_subscription& sub)
{

View File

@ -10,6 +10,8 @@ vcpkg_from_github(
REF 43d10a7ccf37ec1b895742712dd4a05577b73ff1
SHA512 e830d26de00e8f5f378145f06691cb16121c40d3bd2cd663fad9a97db37251a11b56053178b619e3a2627f0cd518b6290a8381b26e517a9f16f0246d2f91958e
HEAD_REF master
PATCHES
gcc-11.patch # https://github.com/darrenjs/wampcc/commit/d1a8c6dcabcc32e9d9774f306555e9080d871c2f
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,7 +1,7 @@
{
"name": "wampcc",
"version-date": "2019-09-04",
"port-version": 4,
"port-version": 5,
"description": "Wampcc is C++ library that implements the Web Application Messaging Protocol (WAMP) protocol.",
"license": "MIT",
"supports": "!(windows & arm64)",

View File

@ -8574,7 +8574,7 @@
},
"wampcc": {
"baseline": "2019-09-04",
"port-version": 4
"port-version": 5
},
"wangle": {
"baseline": "2023.07.03.00",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "69c3d159720746a5321085dab7b543c1c95eed85",
"version-date": "2019-09-04",
"port-version": 5
},
{
"git-tree": "acfd463862ba55ebabe1f0b0105da56b965d5b90",
"version-date": "2019-09-04",