Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2016 13:41:44 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405290 - in head/multimedia/mkvtoolnix: . files
Message-ID:  <201601051341.u05DfiEH039141@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Tue Jan  5 13:41:44 2016
New Revision: 405290
URL: https://svnweb.freebsd.org/changeset/ports/405290

Log:
  Update to upstream version 8.7.0 ; Fix build failure on pre-10.x systems
  
  MFH:		2016Q1

Added:
  head/multimedia/mkvtoolnix/files/patch-lib_nlohmann-json_src_json.hpp   (contents, props changed)
Modified:
  head/multimedia/mkvtoolnix/Makefile
  head/multimedia/mkvtoolnix/distinfo

Modified: head/multimedia/mkvtoolnix/Makefile
==============================================================================
--- head/multimedia/mkvtoolnix/Makefile	Tue Jan  5 13:30:52 2016	(r405289)
+++ head/multimedia/mkvtoolnix/Makefile	Tue Jan  5 13:41:44 2016	(r405290)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mkvtoolnix
-PORTVERSION=	8.6.1
+PORTVERSION=	8.7.0
 CATEGORIES=	multimedia audio
 MASTER_SITES=	http://www.bunkus.org/videotools/mkvtoolnix/sources/ \
 		LOCAL/ehaupt
@@ -81,6 +81,8 @@ post-patch:
 		${WRKSRC}/src/output/p_mpeg4_p10.cpp \
 		${WRKSRC}/src/output/p_tta.cpp \
 		${WRKSRC}/src/output/p_wavpack.cpp
+	@${REINPLACE_CMD} -e 's|std::lround|lround|g' \
+		${WRKSRC}/src/propedit/tag_target.cpp
 .endif
 	${REINPLACE_CMD} -e '/LIBS="-lintl/s,-liconv,$$ICONV_LIBS,' \
 		${WRKSRC}/configure

Modified: head/multimedia/mkvtoolnix/distinfo
==============================================================================
--- head/multimedia/mkvtoolnix/distinfo	Tue Jan  5 13:30:52 2016	(r405289)
+++ head/multimedia/mkvtoolnix/distinfo	Tue Jan  5 13:41:44 2016	(r405290)
@@ -1,2 +1,2 @@
-SHA256 (mkvtoolnix-8.6.1.tar.xz) = 815d8355b6a83af01c957543cee8716f1dad53e03b2ecf58b821099cd3c8fa77
-SIZE (mkvtoolnix-8.6.1.tar.xz) = 3242840
+SHA256 (mkvtoolnix-8.7.0.tar.xz) = 33502efa9a44ad561e89753d9224b7eac95b2a887812ea3d8aa2051ff3f5c15a
+SIZE (mkvtoolnix-8.7.0.tar.xz) = 3273484

Added: head/multimedia/mkvtoolnix/files/patch-lib_nlohmann-json_src_json.hpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/mkvtoolnix/files/patch-lib_nlohmann-json_src_json.hpp	Tue Jan  5 13:41:44 2016	(r405290)
@@ -0,0 +1,22 @@
+--- lib/nlohmann-json/src/json.hpp.orig	2015-12-31 12:23:52 UTC
++++ lib/nlohmann-json/src/json.hpp
+@@ -5737,7 +5737,9 @@ class basic_json
+                     /// use integer array index as key
+                     case (value_t::array):
+                     {
+-                        return std::to_string(array_index);
++                        std::ostringstream TempStream;
++                        TempStream << array_index;
++                        return TempStream.str();
+                     }
+ 
+                     /// use key from the object
+@@ -6902,7 +6904,7 @@ basic_json_parser_59:
+         {
+             // conversion
+             typename string_t::value_type* endptr;
+-            const auto float_val = std::strtold(reinterpret_cast<typename string_t::const_pointer>(m_start),
++            const auto float_val = std::strtod(reinterpret_cast<typename string_t::const_pointer>(m_start),
+                                                 &endptr);
+ 
+             // return float_val if the whole number was translated and NAN



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601051341.u05DfiEH039141>