forked from Lainports/freebsd-ports
- Update PORTVERSION and distinfo checksum (2.5.0) - Update pkg-plist - Un-conditionalize GNUTLS. It is now mandatory [1] - Switch to GITHUB for DISTFILES, tarball doesn't include tests - Use USES=compiler for determing which C++11 compiler to use, deprecate OSVERSION < 10 check accordingly. - Patch files to correct for ambiguous type signatures under LLVM, fixing build failure on 32-bit ARCH's (only i386 tested) and ISO8601 unit test failures. [3] - Add python:test for TEST_DEPENDS support [2] - Add do-test target for running the test suite - Update SHEBANG_FILES, no more .py, .rb files - Remove WRKSRC override - Add LICENSE_FILE - Sort Makefile sections Changes: [1] https://taskwarrior.org/news/news.20151021.html [2] https://svnweb.freebsd.org/changeset/ports/405075 [3] C++ fixes kindly supplied by Brendan Molloy Approved by: skreuzer (maintainer) Differential Revision: D4756
11 lines
404 B
C++
11 lines
404 B
C++
--- src/commands/CmdTimesheet.cpp.orig 2015-10-21 20:50:42 UTC
|
|
+++ src/commands/CmdTimesheet.cpp
|
|
@@ -75,7 +75,7 @@ int CmdTimesheet::execute (std::string&
|
|
|
|
// Roll back to midnight.
|
|
start = ISO8601d (start.month (), start.day (), start.year ());
|
|
- ISO8601d end = start + (7 * 86400);
|
|
+ ISO8601d end = start + (time_t)(7 * 86400);
|
|
|
|
// Determine how many reports to run.
|
|
int quantity = 1;
|