diff options
author | jkim <jkim@FreeBSD.org> | 2015-02-03 06:34:01 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2015-02-03 06:34:01 +0800 |
commit | b382b2cfe9b003763d0a402bdcfe514f62f024c1 (patch) | |
tree | b257d555f969834e45068cc3b521428a6271eeb9 /print | |
parent | 8e8ae39b80345656d7fc98498ec7cce160d2e60c (diff) | |
download | freebsd-ports-gnome-b382b2cfe9b003763d0a402bdcfe514f62f024c1.tar.gz freebsd-ports-gnome-b382b2cfe9b003763d0a402bdcfe514f62f024c1.tar.zst freebsd-ports-gnome-b382b2cfe9b003763d0a402bdcfe514f62f024c1.zip |
Fix build with GCC 4.2.
Reported by: antoine
Diffstat (limited to 'print')
-rw-r--r-- | print/libmspub01/files/patch-src__lib__MSPUBMetaData.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/print/libmspub01/files/patch-src__lib__MSPUBMetaData.cpp b/print/libmspub01/files/patch-src__lib__MSPUBMetaData.cpp new file mode 100644 index 000000000000..ad4c1317b09e --- /dev/null +++ b/print/libmspub01/files/patch-src__lib__MSPUBMetaData.cpp @@ -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) |