From 50ace901b044edd6b46a0e5ad59f4b76733da90c Mon Sep 17 00:00:00 2001 From: Dima Panov Date: Wed, 27 Sep 2023 16:57:26 +0300 Subject: [PATCH] devel/cpp-netlib: fix build after Boost-1.83.0 update --- devel/cpp-netlib/Makefile | 2 +- ...work_protocol_http_server_impl_parsers.ipp | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 devel/cpp-netlib/files/patch-boost_network_protocol_http_server_impl_parsers.ipp diff --git a/devel/cpp-netlib/Makefile b/devel/cpp-netlib/Makefile index 926a2253bdf6..9a07aa0ec2c1 100644 --- a/devel/cpp-netlib/Makefile +++ b/devel/cpp-netlib/Makefile @@ -1,7 +1,7 @@ PORTNAME= cpp-netlib DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 0.13.0 -PORTREVISION= 5 +PORTREVISION= 6 DISTVERSIONSUFFIX= -final CATEGORIES= devel diff --git a/devel/cpp-netlib/files/patch-boost_network_protocol_http_server_impl_parsers.ipp b/devel/cpp-netlib/files/patch-boost_network_protocol_http_server_impl_parsers.ipp new file mode 100644 index 000000000000..f79c467225af --- /dev/null +++ b/devel/cpp-netlib/files/patch-boost_network_protocol_http_server_impl_parsers.ipp @@ -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 + #include + #include ++#include + + #ifdef BOOST_NETWORK_NO_LIB + #ifndef BOOST_NETWORK_INLINE +@@ -32,7 +33,7 @@ struct assign_to_container_from_value // + 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; + }