Received: by mail.netbsd.org (Postfix, from userid 605) id 7FD5E84D8B; Mon, 21 Aug 2017 14:39:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1510C84CE4 for ; Mon, 21 Aug 2017 14:39:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id L0UZo4dIcaGf for ; Mon, 21 Aug 2017 14:39:05 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8FDE784CDC for ; Mon, 21 Aug 2017 14:39:05 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8970EFAD0; Mon, 21 Aug 2017 14:39:05 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1503326345176780" MIME-Version: 1.0 Date: Mon, 21 Aug 2017 14:39:05 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/time/taskwarrior To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20170821143905.8970EFAD0@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1503326345176780 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Mon Aug 21 14:39:05 UTC 2017 Modified Files: pkgsrc/time/taskwarrior: Makefile distinfo Added Files: pkgsrc/time/taskwarrior/patches: patch-src_commands_CmdBurndown.cpp Log Message: Fix build on SunOS. Patches submitted by Thomas Merkel in NetBSD/pkgsrc#9 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/time/taskwarrior/Makefile cvs rdiff -u -r1.1 -r1.2 pkgsrc/time/taskwarrior/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/time/taskwarrior/patches/patch-src_commands_CmdBurndown.cpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1503326345176780 Content-Disposition: inline Content-Length: 2606 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/time/taskwarrior/Makefile diff -u pkgsrc/time/taskwarrior/Makefile:1.4 pkgsrc/time/taskwarrior/Makefile:1.5 --- pkgsrc/time/taskwarrior/Makefile:1.4 Mon Sep 19 13:04:28 2016 +++ pkgsrc/time/taskwarrior/Makefile Mon Aug 21 14:39:05 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2016/09/19 13:04:28 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2017/08/21 14:39:05 jperkin Exp $ # DISTNAME= task-2.5.1 @@ -22,6 +22,9 @@ INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${ CMAKE_ARGS+= -DTASK_MAN1DIR=${PREFIX}/${PKGMANDIR}/man1 CMAKE_ARGS+= -DTASK_MAN5DIR=${PREFIX}/${PKGMANDIR}/man5 +CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=release + +LDFLAGS.SunOS+= -lsocket -lnsl .include "options.mk" Index: pkgsrc/time/taskwarrior/distinfo diff -u pkgsrc/time/taskwarrior/distinfo:1.1 pkgsrc/time/taskwarrior/distinfo:1.2 --- pkgsrc/time/taskwarrior/distinfo:1.1 Mon Jun 20 20:30:42 2016 +++ pkgsrc/time/taskwarrior/distinfo Mon Aug 21 14:39:05 2017 @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.1 2016/06/20 20:30:42 kamil Exp $ +$NetBSD: distinfo,v 1.2 2017/08/21 14:39:05 jperkin Exp $ SHA1 (task-2.5.1.tar.gz) = 647faf0784aa8ebe48cba3e2061f79e1ddbf3e84 RMD160 (task-2.5.1.tar.gz) = ae04417ff7f007c6e01d4d6bd4dede67adc1e35f SHA512 (task-2.5.1.tar.gz) = ec17e5cefff55ecd2c1cb717801c02683d94030906c8d86450c3c79c0bc5a18d82559a5e9e26a91411a1025a241b78ddbc1de51cafc1a2dd531e8229e5e61c10 Size (task-2.5.1.tar.gz) = 903428 bytes +SHA1 (patch-src_commands_CmdBurndown.cpp) = 36b7a4c1ce72652902705d80477b61dbd87b347e SHA1 (patch-src_commands_CmdEdit.cpp) = 07c33f7cb07e7459cc5eabacbe3b003afa8db060 Added files: Index: pkgsrc/time/taskwarrior/patches/patch-src_commands_CmdBurndown.cpp diff -u /dev/null pkgsrc/time/taskwarrior/patches/patch-src_commands_CmdBurndown.cpp:1.1 --- /dev/null Mon Aug 21 14:39:05 2017 +++ pkgsrc/time/taskwarrior/patches/patch-src_commands_CmdBurndown.cpp Mon Aug 21 14:39:05 2017 @@ -0,0 +1,15 @@ +$NetBSD: patch-src_commands_CmdBurndown.cpp,v 1.1 2017/08/21 14:39:05 jperkin Exp $ + +Call of overloaded 'log10(unsigned int)' is ambiguous + +--- src/commands/CmdBurndown.cpp.orig 2016-02-24 22:18:11.000000000 +0000 ++++ src/commands/CmdBurndown.cpp +@@ -902,7 +902,7 @@ unsigned Chart::burndown_size (unsigned + + // Choose the number from here rounded up to the nearest 10% of the next + // highest power of 10 or half of power of 10. +- const unsigned count = (unsigned) log10 (std::numeric_limits::max ()); ++ const unsigned count = (unsigned) log10 ((double)std::numeric_limits::max ()); + unsigned half = 500; + unsigned full = 1000; + --_----------=_1503326345176780--