websocketpp_0.8.1.bb: Fix build with asio from boost 1.70+
PATCH 1/1 websocketpp_0.8.1.bb: Fix build with asio from boost 1.70+
Patch is cherry-picked from
https://github.com/zaphoyd/websocketpp/pull/814
Removed unused patches
Signed-off-by Khem Raj <[email protected]>
--- .../0001-Fix-issue-599.patch | 31 - ...e-make_shared-with-new-in-some-cases.patch | 78 +++ .../0002-Fix-missed-entries-fix-testing.patch | 66 ++ ...5e5c0c5f19fcee7d37b4a38b156d63a150d4.patch | 155 ----- ...300d874a30db35e3ad58f188944bef0bf31b.patch | 600 ------------------ .../websocketpp-0.8.1/disable-tests.patch | 51 -- .../websocketpp/websocketpp_0.8.1.bb | 5 +- 7 files changed, 148 insertions(+), 838 deletions(-) delete mode 100644 meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-Fix-issue-599.patch create mode 100644 meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-Replace-make_shared-with-new-in-some-cases.patch create mode 100644 meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0002-Fix-missed-entries-fix-testing.patch delete mode 100644 meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/4cab5e5c0c5f19fcee7d37b4a38b156d63a150d4.patch delete mode 100644 meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/9ddb300d874a30db35e3ad58f188944bef0bf31b.patch delete mode 100644 meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/disable-tests.patch
meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-Fix-issue-599.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From 1dd07113f2a7489444a8990a95be42e035f8e9df Mon Sep 17 00:00:00 2001 -From: Kurt Roeckx <[email protected]> -Date: Tue, 1 Nov 2016 12:57:35 +0100 -Subject: [PATCH] Fix issue #599 -Forwarded: https://github.com/zaphoyd/websocketpp/pull/600 - ---- - websocketpp/transport/asio/security/tls.hpp | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/websocketpp/transport/asio/security/tls.hpp b/websocketpp/transport/asio/security/tls.hpp -index 7b32db8..a8aafec 100644 ---- a/websocketpp/transport/asio/security/tls.hpp -+++ b/websocketpp/transport/asio/security/tls.hpp -@@ -355,13 +355,9 @@ protected: - template <typename ErrorCodeType> - lib::error_code translate_ec(ErrorCodeType ec) { - if (ec.category() == lib::asio::error::get_ssl_category()) { -- if (ERR_GET_REASON(ec.value()) == SSL_R_SHORT_READ) { -- return make_error_code(transport::error::tls_short_read); -- } else { - // We know it is a TLS related error, but otherwise don't know - // more. Pass through as TLS generic. - return make_error_code(transport::error::tls_error); -- } - } else { - // We don't know any more information about this error so pass - // through --- -2.7.4 -
meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0001-Replace-make_shared-with-new-in-some-cases.patch new file +78 -0
78 lines not on this page · raw message
meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/0002-Fix-missed-entries-fix-testing.patch new file +66 -0
66 lines not on this page · raw message
meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/4cab5e5c0c5f19fcee7d37b4a38b156d63a150d4.patch deleted +0 -155
155 lines not on this page · raw message
meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/9ddb300d874a30db35e3ad58f188944bef0bf31b.patch deleted +0 -600
600 lines not on this page · raw message
meta-oe/recipes-support/websocketpp/websocketpp-0.8.1/disable-tests.patch deleted +0 -51
51 lines not on this page · raw message
meta-oe/recipes-support/websocketpp/websocketpp_0.8.1.bb +4 -1
@@ -5,7 +5,10 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=4d168d763c111f4ffc62249870e4e0ea" DEPENDS = "openssl boost zlib" -SRC_URI = "git://github.com/zaphoyd/websocketpp.git;protocol=https;branch=master" +SRC_URI = "git://github.com/zaphoyd/websocketpp.git;protocol=https \ + file://0001-Replace-make_shared-with-new-in-some-cases.patch \ + file://0002-Fix-missed-entries-fix-testing.patch \ + " # tag 0.8.1 SRCREV= "c6d7e295bf5a0ab9b5f896720cc1a0e0fdc397a7"
Signature · 1 line
2.23.0