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,27 +1,27 @@ PORTNAME= cpp-netlib DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 0.13.0 -PORTREVISION= 5 +PORTREVISION= 6 DISTVERSIONSUFFIX= -final CATEGORIES= devel MAINTAINER= zi@FreeBSD.org COMMENT= Cross-platform, standards compliant networking library WWW= https://github.com/cpp-netlib/cpp-netlib/ LICENSE= BSL LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt LIB_DEPENDS= libboost_system.so:devel/boost-libs BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ asio>0:net/asio USES= cmake compiler:c++11-lang ssl USE_LDCONFIG= yes CFLAGS+= -fPIC CMAKE_ARGS+= -DCPP-NETLIB_BUILD_EXAMPLES=OFF \ -DCPP-NETLIB_BUILD_SHARED_LIBS=ON \ -DCPP-NETLIB_BUILD_TESTS=OFF USE_GITHUB= yes .include 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; + }