Date: Mon, 2 Feb 2015 22:34:02 +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: r378335 - head/print/libmspub01/files Message-ID: <201502022234.t12MY2Me031877@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Mon Feb 2 22:34:01 2015 New Revision: 378335 URL: https://svnweb.freebsd.org/changeset/ports/378335 QAT: https://qat.redports.org/buildarchive/r378335/ Log: Fix build with GCC 4.2. Reported by: antoine Added: head/print/libmspub01/files/ head/print/libmspub01/files/patch-src__lib__MSPUBMetaData.cpp (contents, props changed) Added: head/print/libmspub01/files/patch-src__lib__MSPUBMetaData.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/libmspub01/files/patch-src__lib__MSPUBMetaData.cpp Mon Feb 2 22:34:01 2015 (r378335) @@ -0,0 +1,11 @@ +--- src/lib/MSPUBMetaData.cpp.orig 2014-12-30 06:42:44.000000000 -0500 ++++ src/lib/MSPUBMetaData.cpp 2015-02-02 17:30:18.706664000 -0500 +@@ -210,7 +210,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?201502022234.t12MY2Me031877>