From 0e3c482192f2ff8bfc1c05c5d8542b22e1d67d0d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 26 Sep 2023 12:42:21 -0700 Subject: cpp-netlib: Fix build with boost 1.80+ Update to latest on 0.13.0 release branch Set PR to 0.13.0 Drop unused SRC_URI checksum Signed-off-by: Khem Raj --- .../a53f123040998744602f190944464af0e159ea19.patch | 30 ++++++++++++++++++++++ .../recipes-support/cpp-netlib/cpp-netlib_git.bb | 7 +++-- 2 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 meta-oe/recipes-support/cpp-netlib/cpp-netlib/a53f123040998744602f190944464af0e159ea19.patch (limited to 'meta-oe/recipes-support/cpp-netlib') diff --git a/meta-oe/recipes-support/cpp-netlib/cpp-netlib/a53f123040998744602f190944464af0e159ea19.patch b/meta-oe/recipes-support/cpp-netlib/cpp-netlib/a53f123040998744602f190944464af0e159ea19.patch new file mode 100644 index 0000000000..c93b76619c --- /dev/null +++ b/meta-oe/recipes-support/cpp-netlib/cpp-netlib/a53f123040998744602f190944464af0e159ea19.patch @@ -0,0 +1,30 @@ +From a53f123040998744602f190944464af0e159ea19 Mon Sep 17 00:00:00 2001 +From: jjll +Date: Wed, 6 Sep 2023 20:47:41 +0200 +Subject: [PATCH] Compatibility with boost 1.83 + +Upstream-Status: Backport [https://github.com/cpp-netlib/cpp-netlib/pull/902] +Signed-off-by: Khem Raj +--- + libs/network/src/server_request_parsers_impl.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/boost/network/protocol/http/server/impl/parsers.ipp ++++ b/boost/network/protocol/http/server/impl/parsers.ipp +@@ -13,6 +13,7 @@ + #include + #include + #include ++#include + + #ifdef BOOST_NETWORK_NO_LIB + #ifndef BOOST_NETWORK_INLINE +@@ -32,7 +33,7 @@ typedef std::basic_string u32_ + template <> // + struct assign_to_container_from_value { + static void call(u32_string const& val, std::string& attr) { +- u32_to_u8_iterator begin = val.begin(), ++ boost::u32_to_u8_iterator begin = val.begin(), + end = val.end(); + for (; begin != end; ++begin) attr += *begin; + } diff --git a/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb b/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb index 3c271ae5d1..b2bdb86c0d 100644 --- a/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb +++ b/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb @@ -8,13 +8,13 @@ DESCRIPTION = "Modern C++ network programming libraries." SECTION = "libs" LICENSE = "BSL-1.0 & MIT & Python-2.0" LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c" +PV = "0.13.0" +SRCREV = "31d304cdf52b485f465ada433d8905171b61cbff" SRC_URI = "\ git://github.com/cpp-netlib/cpp-netlib.git;protocol=https;branch=0.13-release \ + file://a53f123040998744602f190944464af0e159ea19.patch \ " -SRC_URI[sha256sum] = "0b9255bb0668d89867a1f367d770f12d7038db4f5b6111774ef032f669cccad4" - -SRCREV = "ca95f04d140acf619892ee02a82e930dd91ff7d4" S = "${WORKDIR}/git" @@ -23,4 +23,3 @@ inherit cmake pkgconfig DEPENDS = "zlib boost openssl" EXTRA_OECMAKE:append = " -DCPP-NETLIB_BUILD_TESTS=OFF -DCPP-NETLIB_BUILD_EXAMPLES=OFF" - -- cgit v1.2.3-54-g00ecf