Index: head/devel/cpprestsdk/Makefile =================================================================== --- head/devel/cpprestsdk/Makefile (revision 459365) +++ head/devel/cpprestsdk/Makefile (revision 459366) @@ -1,26 +1,24 @@ # $FreeBSD$ PORTNAME= cpprestsdk PORTVERSION= 2.9.1 DISTVERSIONPREFIX= v PORTREVISION= 4 CATEGORIES= devel MAINTAINER= projects@phess.net COMMENT= Microsoft C++ REST SDK LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../license.txt -BROKEN= fails to build with boost 1.66, see bug 224093 - LIB_DEPENDS= libboost_system.so:devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= Microsoft USES= cmake compiler:c++11-lib ssl USE_LDCONFIG= yes WRKSRC_SUBDIR= Release .include Index: head/devel/cpprestsdk/files/patch-git_6b2e048001 =================================================================== --- head/devel/cpprestsdk/files/patch-git_6b2e048001 (nonexistent) +++ head/devel/cpprestsdk/files/patch-git_6b2e048001 (revision 459366) @@ -0,0 +1,34 @@ +This fixes the build against Boost 1.66 + +In file included from src/websockets/client/ws_client_wspp.cpp:28: +In file included from libs/websocketpp/websocketpp/config/asio_client.hpp:32: +In file included from libs/websocketpp/websocketpp/transport/asio/endpoint.hpp:32: +libs/websocketpp/websocketpp/transport/asio/connection.hpp:425:24: error: no matching function for call to 'make_shared' + m_strand = lib::make_shared( + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/v1/memory:4642:1: note: candidate template ignored: invalid explicitly-specified argument for template parameter '_Tp' +make_shared(_Args&& ...__args) +^ + +From 6b2e0480018530b616f61d5cdc786c92ba148bb7 Mon Sep 17 00:00:00 2001 +From: John Hruby +Date: Tue, 26 Dec 2017 16:52:13 +0100 +Subject: [PATCH] fixed strand + +--- + Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp b/Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp +index 0be40f6b..395632c3 100644 +--- libs/websocketpp/websocketpp/transport/asio/connection.hpp ++++ libs/websocketpp/websocketpp/transport/asio/connection.hpp +@@ -422,7 +422,7 @@ class connection : public config::socket_type::socket_con_type { + m_io_service = io_service; + + if (config::enable_multithreading) { +- m_strand = lib::make_shared( ++ m_strand = lib::make_shared( + lib::ref(*io_service)); + + m_async_read_handler = m_strand->wrap(lib::bind( Property changes on: head/devel/cpprestsdk/files/patch-git_6b2e048001 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property