diff options
author | Adam Duskett <aduskett@codeblue.com> | 2018-01-14 14:56:44 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2018-01-15 23:18:00 +0100 |
commit | e378e8d33e70a770420c85b7db58b5b17eb535fb (patch) | |
tree | 7858346163a6906eb383488917035cbe30e1661b /package/libcpprestsdk/0003-fix-strand.patch | |
parent | f32fa207bd4a1cdb91e35550e4f96b4f556ce7cd (diff) | |
download | buildroot-e378e8d33e70a770420c85b7db58b5b17eb535fb.tar.gz buildroot-e378e8d33e70a770420c85b7db58b5b17eb535fb.zip |
libcpprestsdk: new package
The C++ REST SDK is a Microsoft project for cloud-based client-server
communication in native code using a modern asynchronous C++ API design.
This project aims to help C++ developers connect to and interact with
services.
This package is licensed under the MIT package and depends on BOOST
and OpenSSL/LibreSSL.
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libcpprestsdk/0003-fix-strand.patch')
-rw-r--r-- | package/libcpprestsdk/0003-fix-strand.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/libcpprestsdk/0003-fix-strand.patch b/package/libcpprestsdk/0003-fix-strand.patch new file mode 100644 index 0000000000..f5710b38b9 --- /dev/null +++ b/package/libcpprestsdk/0003-fix-strand.patch @@ -0,0 +1,28 @@ +From e75d642726c4c78c368e74660ef4bc5503f3ec12 Mon Sep 17 00:00:00 2001 +From: Adam Duskett <aduskett@codeblue.com> +Date: Sun, 14 Jan 2018 14:44:02 -0500 +Subject: [PATCH] fix strand + +From upstream, fixes compiling against boost 1.66 strand. + +Commit IDs 6b2e0480018530b616f61d5cdc786c92ba148bb7 + +Signed-off-by: Adam Duskett <aduskett@codeblue.com> +--- + Release/include/pplx/threadpool.h | 2 +- + Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp b/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp +index 0be40f6b..395632c3 100644 +--- a/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp ++++ b/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp +@@ -422,7 +422,7 @@ class connection : public config::socket_type::socket_con_type { + m_io_service = io_service; + + if (config::enable_multithreading) { +- m_strand = lib::make_shared<boost::asio::strand>( ++ m_strand = lib::make_shared<boost::asio::io_service::strand>( + lib::ref(*io_service)); + + m_async_read_handler = m_strand->wrap(lib::bind( |