summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/cpprest/cpprest-2.10.2/boost-fix.patch
diff options
context:
space:
mode:
authorGianfranco Costamagna <costamagna.gianfranco@gmail.com>2018-07-23 18:47:54 +0200
committerKhem Raj <raj.khem@gmail.com>2018-07-26 20:10:07 -0700
commitcff57daf6507f4b449e62678606d4988555dc6aa (patch)
treec30229a6ed037a1e7a166a846e6408d806e9f08a /meta-oe/recipes-support/cpprest/cpprest-2.10.2/boost-fix.patch
parent4ad49edc90f4ff73a19accda4f12ef33b46effd1 (diff)
downloadmeta-openembedded-cff57daf6507f4b449e62678606d4988555dc6aa.tar.gz
meta-oe: update cpprest with patches uploaded in Debian, add upstream proposed gcc-8 patch, add boost 1.63 build fix patch
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/cpprest/cpprest-2.10.2/boost-fix.patch')
-rw-r--r--meta-oe/recipes-support/cpprest/cpprest-2.10.2/boost-fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/cpprest/cpprest-2.10.2/boost-fix.patch b/meta-oe/recipes-support/cpprest/cpprest-2.10.2/boost-fix.patch
new file mode 100644
index 0000000000..5318a6a103
--- /dev/null
+++ b/meta-oe/recipes-support/cpprest/cpprest-2.10.2/boost-fix.patch
@@ -0,0 +1,14 @@
1Origin: https://github.com/Microsoft/cpprestsdk/issues/813
2Last-Update: 2018-07-23
3
4--- cpprest-2.10.2.orig/Release/libs/websocketpp/websocketpp/transport/asio/security/tls.hpp
5+++ cpprest-2.10.2/Release/libs/websocketpp/websocketpp/transport/asio/security/tls.hpp
6@@ -312,7 +312,7 @@ protected:
7 return make_error_code(transport::error::tls_short_read);
8 #else
9 if (ERR_GET_REASON(ec.value()) == boost::asio::ssl::error::stream_truncated) {
10- return make_error_code(boost::asio::ssl::error::stream_truncated);
11+ return make_error_code(static_cast<std::errc>(boost::asio::ssl::error::stream_truncated));
12 #endif
13 } else {
14 // We know it is a TLS related error, but otherwise don't know