summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-09-26 12:42:21 -0700
committerKhem Raj <raj.khem@gmail.com>2023-09-26 12:44:12 -0700
commit0e3c482192f2ff8bfc1c05c5d8542b22e1d67d0d (patch)
treea1b67e5475ae32b50dfc83522d59429d600cac99
parent15c8096177edbf2e05915d6b8df2139434eef83d (diff)
downloadmeta-openembedded-0e3c482192f2ff8bfc1c05c5d8542b22e1d67d0d.tar.gz
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 <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/cpp-netlib/cpp-netlib/a53f123040998744602f190944464af0e159ea19.patch30
-rw-r--r--meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb7
2 files changed, 33 insertions, 4 deletions
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 @@
1From a53f123040998744602f190944464af0e159ea19 Mon Sep 17 00:00:00 2001
2From: jjll <jjll@gmv.com>
3Date: Wed, 6 Sep 2023 20:47:41 +0200
4Subject: [PATCH] Compatibility with boost 1.83
5
6Upstream-Status: Backport [https://github.com/cpp-netlib/cpp-netlib/pull/902]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 libs/network/src/server_request_parsers_impl.cpp | 3 ++-
10 1 file changed, 2 insertions(+), 1 deletion(-)
11
12--- a/boost/network/protocol/http/server/impl/parsers.ipp
13+++ b/boost/network/protocol/http/server/impl/parsers.ipp
14@@ -13,6 +13,7 @@
15 #include <tuple>
16 #include <boost/fusion/include/std_tuple.hpp>
17 #include <boost/network/protocol/http/message/header.hpp>
18+#include <boost/regex/pending/unicode_iterator.hpp>
19
20 #ifdef BOOST_NETWORK_NO_LIB
21 #ifndef BOOST_NETWORK_INLINE
22@@ -32,7 +33,7 @@ typedef std::basic_string<uint32_t> u32_
23 template <> // <typename Attrib, typename T, typename Enable>
24 struct assign_to_container_from_value<std::string, u32_string, void> {
25 static void call(u32_string const& val, std::string& attr) {
26- u32_to_u8_iterator<u32_string::const_iterator> begin = val.begin(),
27+ boost::u32_to_u8_iterator<u32_string::const_iterator> begin = val.begin(),
28 end = val.end();
29 for (; begin != end; ++begin) attr += *begin;
30 }
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."
8SECTION = "libs" 8SECTION = "libs"
9LICENSE = "BSL-1.0 & MIT & Python-2.0" 9LICENSE = "BSL-1.0 & MIT & Python-2.0"
10LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c" 10LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
11PV = "0.13.0"
11 12
13SRCREV = "31d304cdf52b485f465ada433d8905171b61cbff"
12SRC_URI = "\ 14SRC_URI = "\
13 git://github.com/cpp-netlib/cpp-netlib.git;protocol=https;branch=0.13-release \ 15 git://github.com/cpp-netlib/cpp-netlib.git;protocol=https;branch=0.13-release \
16 file://a53f123040998744602f190944464af0e159ea19.patch \
14" 17"
15SRC_URI[sha256sum] = "0b9255bb0668d89867a1f367d770f12d7038db4f5b6111774ef032f669cccad4"
16
17SRCREV = "ca95f04d140acf619892ee02a82e930dd91ff7d4"
18 18
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
20 20
@@ -23,4 +23,3 @@ inherit cmake pkgconfig
23DEPENDS = "zlib boost openssl" 23DEPENDS = "zlib boost openssl"
24 24
25EXTRA_OECMAKE:append = " -DCPP-NETLIB_BUILD_TESTS=OFF -DCPP-NETLIB_BUILD_EXAMPLES=OFF" 25EXTRA_OECMAKE:append = " -DCPP-NETLIB_BUILD_TESTS=OFF -DCPP-NETLIB_BUILD_EXAMPLES=OFF"
26