From owner-svn-ports-head@freebsd.org Sun Apr 15 04:56:01 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC4ABF94A7B; Sun, 15 Apr 2018 04:56:01 +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 6E14D7C9AF; Sun, 15 Apr 2018 04:56:01 +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 692A8220F; Sun, 15 Apr 2018 04:56:01 +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 w3F4u1uY028930; Sun, 15 Apr 2018 04:56:01 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3F4u1ZX028929; Sun, 15 Apr 2018 04:56:01 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201804150456.w3F4u1ZX028929@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 15 Apr 2018 04:56:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467365 - head/net-mgmt/icinga2/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/net-mgmt/icinga2/files X-SVN-Commit-Revision: 467365 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 04:56:02 -0000 Author: jbeich Date: Sun Apr 15 04:56:01 2018 New Revision: 467365 URL: https://svnweb.freebsd.org/changeset/ports/467365 Log: net-mgmt/icinga2: unbreak with boost 1.67 In file included from lib/base/base_unity.cpp:61: lib/base/timer.cpp:269:31: error: no matching conversion for functional-style cast from 'double' to 'boost::posix_time::milliseconds' (aka 'subsecond_duration') l_TimerCV.timed_wait(lock, boost::posix_time::milliseconds(wait * 1000)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PR: 227427 Reported by: antoine (via exp-run) Added: head/net-mgmt/icinga2/files/patch-boost-1.67 (contents, props changed) Added: head/net-mgmt/icinga2/files/patch-boost-1.67 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/icinga2/files/patch-boost-1.67 Sun Apr 15 04:56:01 2018 (r467365) @@ -0,0 +1,35 @@ +https://github.com/Icinga/icinga2/pull/6230 + +--- lib/base/timer.cpp.orig 2018-03-22 10:26:19 UTC ++++ lib/base/timer.cpp +@@ -266,7 +266,7 @@ void Timer::TimerThreadProc(void) + + if (wait > 0.01) { + /* Wait for the next timer. */ +- l_TimerCV.timed_wait(lock, boost::posix_time::milliseconds(wait * 1000)); ++ l_TimerCV.timed_wait(lock, boost::posix_time::milliseconds(long(wait * 1000))); + + continue; + } +--- lib/checker/checkercomponent.cpp.orig 2018-03-22 10:26:19 UTC ++++ lib/checker/checkercomponent.cpp +@@ -130,7 +130,7 @@ void CheckerComponent::CheckThreadProc(void) + + if (wait > 0) { + /* Wait for the next check. */ +- m_CV.timed_wait(lock, boost::posix_time::milliseconds(wait * 1000)); ++ m_CV.timed_wait(lock, boost::posix_time::milliseconds(long(wait * 1000))); + + continue; + } +--- lib/remote/eventqueue.cpp.orig 2018-03-22 10:26:19 UTC ++++ lib/remote/eventqueue.cpp +@@ -114,7 +114,7 @@ Dictionary::Ptr EventQueue::WaitForEvent(void *client, + return result; + } + +- if (!m_CV.timed_wait(lock, boost::posix_time::milliseconds(timeout * 1000))) ++ if (!m_CV.timed_wait(lock, boost::posix_time::milliseconds(long(timeout * 1000)))) + return Dictionary::Ptr(); + } + }