From owner-svn-ports-all@freebsd.org Mon Oct 22 20:30:19 2018 Return-Path: Delivered-To: svn-ports-all@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 50C77106CE3F; Mon, 22 Oct 2018 20:30:19 +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 05FBE71CC6; Mon, 22 Oct 2018 20:30:19 +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 00EB72548C; Mon, 22 Oct 2018 20:30:19 +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 w9MKUIoP097975; Mon, 22 Oct 2018 20:30:18 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9MKUIIH097974; Mon, 22 Oct 2018 20:30:18 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201810222030.w9MKUIIH097974@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 22 Oct 2018 20:30:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482787 - head/multimedia/mkvtoolnix/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/multimedia/mkvtoolnix/files X-SVN-Commit-Revision: 482787 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.29 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: Mon, 22 Oct 2018 20:30:19 -0000 Author: jbeich Date: Mon Oct 22 20:30:18 2018 New Revision: 482787 URL: https://svnweb.freebsd.org/changeset/ports/482787 Log: multimedia/mkvtoolnix: unbreak with boost 1.69 src/common/debugging.h:63:14: fatal error: no viable conversion from returned value of type 'boost::tribool' to function return type 'bool' return m_requested; ^~~~~~~~~~~ PR: 232525 Added: head/multimedia/mkvtoolnix/files/ head/multimedia/mkvtoolnix/files/patch-boost-1.69 (contents, props changed) Added: head/multimedia/mkvtoolnix/files/patch-boost-1.69 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/mkvtoolnix/files/patch-boost-1.69 Mon Oct 22 20:30:18 2018 (r482787) @@ -0,0 +1,51 @@ +After https://github.com/boostorg/logic/commit/23cd89d4c80f build fails: + +src/common/debugging.h:63:14: fatal error: no viable conversion from returned value of type 'boost::tribool' to function return type 'bool' + return m_requested; + ^~~~~~~~~~~ +src/input/r_matroska.cpp:1685:43: fatal error: no viable conversion from 'boost::logic::tribool' to 'bool' + PTZR(t->ptzr)->set_track_enabled_flag(t->enabled_track); + ^~~~~~~~~~~~~~~~ +src/merge/generic_packetizer.h:199:44: note: passing argument to parameter 'enabled_track' here + virtual void set_track_enabled_flag(bool enabled_track); + ^ +src/output/p_avc_es.cpp:49:41: fatal error: no viable conversion from 'boost::logic::tribool' to 'bool' + m_parser.set_fix_bitstream_frame_rate(m_ti.m_fix_bitstream_frame_rate); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/common/avc_es_parser.h:152:42: note: passing argument to parameter 'fix' here + void set_fix_bitstream_frame_rate(bool fix) { + ^ + +--- src/common/debugging.h.orig 2018-10-20 14:44:02 UTC ++++ src/common/debugging.h +@@ -60,7 +60,7 @@ class debugging_option_c { + if (boost::logic::indeterminate(m_requested)) + m_requested = debugging_c::requested(m_option); + +- return m_requested; ++ return bool{m_requested}; + } + }; + +--- src/input/r_matroska.cpp.orig 2018-10-20 14:44:02 UTC ++++ src/input/r_matroska.cpp +@@ -1682,7 +1682,7 @@ kax_reader_c::set_packetizer_headers(kax_track_t *t) { + PTZR(t->ptzr)->set_track_forced_flag(true); + + if (boost::logic::indeterminate(PTZR(t->ptzr)->m_ti.m_enabled_track)) +- PTZR(t->ptzr)->set_track_enabled_flag(t->enabled_track); ++ PTZR(t->ptzr)->set_track_enabled_flag(bool{t->enabled_track}); + + if ((0 != t->track_uid) && !PTZR(t->ptzr)->set_uid(t->track_uid)) + mxwarn(boost::format(Y("matroska_reader: Could not keep the track UID %1% because it is already allocated for the new file.\n")) % t->track_uid); +--- src/output/p_avc_es.cpp.orig 2018-10-20 14:44:02 UTC ++++ src/output/p_avc_es.cpp +@@ -46,7 +46,7 @@ avc_es_video_packetizer_c(generic_reader_c *p_reader, + set_codec_id(MKV_V_MPEG4_AVC); + + m_parser.set_keep_ar_info(false); +- m_parser.set_fix_bitstream_frame_rate(m_ti.m_fix_bitstream_frame_rate); ++ m_parser.set_fix_bitstream_frame_rate(bool{m_ti.m_fix_bitstream_frame_rate}); + + // If no external timestamp file has been specified then mkvmerge + // might have created a factory due to the --default-duration