Date: Mon, 2 Feb 2015 22:26:37 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378334 - head/textproc/libvisio01/files Message-ID: <201502022226.t12MQbtW027429@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Mon Feb 2 22:26:36 2015 New Revision: 378334 URL: https://svnweb.freebsd.org/changeset/ports/378334 QAT: https://qat.redports.org/buildarchive/r378334/ Log: Fix build with GCC 4.2. Reported by: antoine Added: head/textproc/libvisio01/files/ head/textproc/libvisio01/files/patch-src__lib__VSDMetaData.cpp (contents, props changed) Added: head/textproc/libvisio01/files/patch-src__lib__VSDMetaData.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/libvisio01/files/patch-src__lib__VSDMetaData.cpp Mon Feb 2 22:26:36 2015 (r378334) @@ -0,0 +1,11 @@ +--- src/lib/VSDMetaData.cpp.orig 2015-01-01 16:11:45.000000000 -0500 ++++ src/lib/VSDMetaData.cpp 2015-02-02 17:20:34.953039000 -0500 +@@ -226,7 +226,7 @@ + uint64_t modifiedTime = readU64(input); + + // modifiedTime is number of 100ns since Jan 1 1601 +- static const uint64_t epoch = 11644473600; ++ static const uint64_t epoch = 11644473600ULL; + time_t sec = (modifiedTime / 10000000) - epoch; + const struct tm *time = localtime(&sec); + if (time)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502022226.t12MQbtW027429>