mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
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>
This commit is contained in:
parent
15c8096177
commit
0e3c482192
|
|
@ -0,0 +1,30 @@
|
|||
From a53f123040998744602f190944464af0e159ea19 Mon Sep 17 00:00:00 2001
|
||||
From: jjll <jjll@gmv.com>
|
||||
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 <raj.khem@gmail.com>
|
||||
---
|
||||
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 <tuple>
|
||||
#include <boost/fusion/include/std_tuple.hpp>
|
||||
#include <boost/network/protocol/http/message/header.hpp>
|
||||
+#include <boost/regex/pending/unicode_iterator.hpp>
|
||||
|
||||
#ifdef BOOST_NETWORK_NO_LIB
|
||||
#ifndef BOOST_NETWORK_INLINE
|
||||
@@ -32,7 +33,7 @@ typedef std::basic_string<uint32_t> u32_
|
||||
template <> // <typename Attrib, typename T, typename Enable>
|
||||
struct assign_to_container_from_value<std::string, u32_string, void> {
|
||||
static void call(u32_string const& val, std::string& attr) {
|
||||
- u32_to_u8_iterator<u32_string::const_iterator> begin = val.begin(),
|
||||
+ boost::u32_to_u8_iterator<u32_string::const_iterator> begin = val.begin(),
|
||||
end = val.end();
|
||||
for (; begin != end; ++begin) attr += *begin;
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user