Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2016 19:20:39 +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: r423787 - head/multimedia/mkvtoolnix/files
Message-ID:  <201610111920.u9BJKd94079239@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Tue Oct 11 19:20:39 2016
New Revision: 423787
URL: https://svnweb.freebsd.org/changeset/ports/423787

Log:
  Fix build on archs where sizeof(size_t) != sizeof(uint64_t)

Added:
  head/multimedia/mkvtoolnix/files/patch-src_input_r__qtmp4.cpp   (contents, props changed)

Added: head/multimedia/mkvtoolnix/files/patch-src_input_r__qtmp4.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/mkvtoolnix/files/patch-src_input_r__qtmp4.cpp	Tue Oct 11 19:20:39 2016	(r423787)
@@ -0,0 +1,11 @@
+--- src/input/r_qtmp4.cpp.orig	2016-09-11 12:16:51 UTC
++++ src/input/r_qtmp4.cpp
+@@ -107,7 +107,7 @@ read_qtmp4_atom(mm_io_c *read_from,
+     if (exit_on_error)
+       mxerror(boost::format(Y("Quicktime/MP4 reader: Invalid chunk size %1% at %2%.\n")) % a.size % a.pos);
+     else
+-      throw mtx::atom_chunk_size_x{a.size, a.pos};
++      throw mtx::atom_chunk_size_x{static_cast<size_t>(a.size), static_cast<size_t>(a.pos)};
+   }
+ 
+   return a;



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