1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Update to upstream version 9.3.1

This commit is contained in:
Thomas Zander 2016-07-16 09:24:04 +00:00
parent 2b7af171ea
commit 79dd378018
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418623
3 changed files with 25 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= mkvtoolnix PORTNAME= mkvtoolnix
PORTVERSION= 9.2.0 PORTVERSION= 9.3.1
CATEGORIES= multimedia audio CATEGORIES= multimedia audio
MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/ \ MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/ \
https://mkvtoolnix.download/sources/ https://mkvtoolnix.download/sources/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1464772982 TIMESTAMP = 1468613196
SHA256 (mkvtoolnix-9.2.0.tar.xz) = 2c2a6b905acfede9eebfe58652b06c88501169d3b9a3c70af78774733ded8b01 SHA256 (mkvtoolnix-9.3.1.tar.xz) = f3695761bf0a5fdcd6144cfb0a624094c10c9d66d43a340ebb917b7c6a8b39a2
SIZE (mkvtoolnix-9.2.0.tar.xz) = 3706756 SIZE (mkvtoolnix-9.3.1.tar.xz) = 3739204

View File

@ -0,0 +1,21 @@
--- src/mkvtoolnix-gui/util/file_identifier.cpp.orig 2016-07-14 05:51:59 UTC
+++ src/mkvtoolnix-gui/util/file_identifier.cpp
@@ -1,5 +1,7 @@
#include "common/common_pch.h"
+#include <cmath>
+
#include <QDebug>
#include <QDir>
#include <QFile>
@@ -288,8 +290,8 @@ FileIdentifier::addProbeRangePercentageA
if (probeRangePercentage <= 0)
return;
- auto integerPart = static_cast<unsigned int>(std::round(probeRangePercentage * 100)) / 100;
- auto decimalPart = static_cast<unsigned int>(std::round(probeRangePercentage * 100)) % 100;
+ auto integerPart = static_cast<unsigned int>(round(probeRangePercentage * 100)) / 100;
+ auto decimalPart = static_cast<unsigned int>(round(probeRangePercentage * 100)) % 100;
if (integerPart >= 100)
return;