1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

devel/cpp-netlib: fix build after Boost-1.83.0 update

This commit is contained in:
Dima Panov 2023-09-27 16:57:26 +03:00
parent 659620f158
commit 50ace901b0
No known key found for this signature in database
GPG Key ID: FB8BA09DD5398F29
2 changed files with 20 additions and 1 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= cpp-netlib
DISTVERSIONPREFIX= ${PORTNAME}-
DISTVERSION= 0.13.0
PORTREVISION= 5
PORTREVISION= 6
DISTVERSIONSUFFIX= -final
CATEGORIES= devel

View File

@ -0,0 +1,19 @@
--- boost/network/protocol/http/server/impl/parsers.ipp.orig 2018-07-19 06:37:41 UTC
+++ 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 @@ struct assign_to_container_from_value<std::string, 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;
}