diff options
author | riggs <riggs@FreeBSD.org> | 2016-07-16 17:24:04 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2016-07-16 17:24:04 +0800 |
commit | 7b5030efc316b0d6eff773066d7991bfa9f3dfb6 (patch) | |
tree | c11f0cf1f4be6a5a77b0a0b75d05f30b36e3d15a /multimedia | |
parent | 5526751a5e6010bbe7bffd7a219c611ea95e4c9a (diff) | |
download | freebsd-ports-gnome-7b5030efc316b0d6eff773066d7991bfa9f3dfb6.tar.gz freebsd-ports-gnome-7b5030efc316b0d6eff773066d7991bfa9f3dfb6.tar.zst freebsd-ports-gnome-7b5030efc316b0d6eff773066d7991bfa9f3dfb6.zip |
Update to upstream version 9.3.1
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mkvtoolnix/Makefile | 2 | ||||
-rw-r--r-- | multimedia/mkvtoolnix/distinfo | 6 | ||||
-rw-r--r-- | multimedia/mkvtoolnix/files/patch-src_mkvtoolnix-gui_util_file__identifier.cpp | 21 |
3 files changed, 25 insertions, 4 deletions
diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile index fc5e80a84a1b..386d2583006c 100644 --- a/multimedia/mkvtoolnix/Makefile +++ b/multimedia/mkvtoolnix/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= mkvtoolnix -PORTVERSION= 9.2.0 +PORTVERSION= 9.3.1 CATEGORIES= multimedia audio MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/ \ https://mkvtoolnix.download/sources/ diff --git a/multimedia/mkvtoolnix/distinfo b/multimedia/mkvtoolnix/distinfo index 6a3f4da5b6fc..f001f91bc6a5 100644 --- a/multimedia/mkvtoolnix/distinfo +++ b/multimedia/mkvtoolnix/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1464772982 -SHA256 (mkvtoolnix-9.2.0.tar.xz) = 2c2a6b905acfede9eebfe58652b06c88501169d3b9a3c70af78774733ded8b01 -SIZE (mkvtoolnix-9.2.0.tar.xz) = 3706756 +TIMESTAMP = 1468613196 +SHA256 (mkvtoolnix-9.3.1.tar.xz) = f3695761bf0a5fdcd6144cfb0a624094c10c9d66d43a340ebb917b7c6a8b39a2 +SIZE (mkvtoolnix-9.3.1.tar.xz) = 3739204 diff --git a/multimedia/mkvtoolnix/files/patch-src_mkvtoolnix-gui_util_file__identifier.cpp b/multimedia/mkvtoolnix/files/patch-src_mkvtoolnix-gui_util_file__identifier.cpp new file mode 100644 index 000000000000..c57899cc2068 --- /dev/null +++ b/multimedia/mkvtoolnix/files/patch-src_mkvtoolnix-gui_util_file__identifier.cpp @@ -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; |