From owner-svn-ports-all@freebsd.org Thu Jan 18 18:26:15 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17E5AEBB597; Thu, 18 Jan 2018 18:26:15 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B517F7A673; Thu, 18 Jan 2018 18:26:14 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C43AE2238F; Thu, 18 Jan 2018 18:26:13 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0IIQDa1029660; Thu, 18 Jan 2018 18:26:13 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0IIQDof029658; Thu, 18 Jan 2018 18:26:13 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201801181826.w0IIQDof029658@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 18 Jan 2018 18:26:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459366 - in head/devel/cpprestsdk: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/devel/cpprestsdk: . files X-SVN-Commit-Revision: 459366 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2018 18:26:15 -0000 Author: jbeich Date: Thu Jan 18 18:26:13 2018 New Revision: 459366 URL: https://svnweb.freebsd.org/changeset/ports/459366 Log: devel/cpprestsdk: unbreak with boost 1.66 Submitted by: rozhuk.im@gmail.com Obtained from: upstream Approved by: portmgr blanket Added: head/devel/cpprestsdk/files/patch-git_6b2e048001 (contents, props changed) Modified: head/devel/cpprestsdk/Makefile (contents, props changed) Modified: head/devel/cpprestsdk/Makefile ============================================================================== --- head/devel/cpprestsdk/Makefile Thu Jan 18 17:32:31 2018 (r459365) +++ head/devel/cpprestsdk/Makefile Thu Jan 18 18:26:13 2018 (r459366) @@ -12,8 +12,6 @@ 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 Added: head/devel/cpprestsdk/files/patch-git_6b2e048001 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/cpprestsdk/files/patch-git_6b2e048001 Thu Jan 18 18:26:13 2018 (r459366) @@ -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(