Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 5AE311A921F for ; Thu, 12 Nov 2020 01:24:38 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 9A00F84D57; Thu, 12 Nov 2020 01:24:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D3FA184D46 for ; Thu, 12 Nov 2020 01:24:36 +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 P3Dm5fgnPbx9 for ; Thu, 12 Nov 2020 01:24:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 52FDF84CF7 for ; Thu, 12 Nov 2020 01:24:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 40420FB28; Thu, 12 Nov 2020 01:24:36 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_160514427673870" MIME-Version: 1.0 Date: Thu, 12 Nov 2020 01:24:36 +0000 From: "David H. Gutteridge" Subject: CVS commit: pkgsrc/devel/samurai To: pkgsrc-changes@NetBSD.org Reply-To: gutteridge@netbsd.org X-Mailer: log_accum Message-Id: <20201112012436.40420FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_160514427673870 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: gutteridge Date: Thu Nov 12 01:24:36 UTC 2020 Modified Files: pkgsrc/devel/samurai: distinfo Added Files: pkgsrc/devel/samurai/patches: patch-graph.c Log Message: samurai: fix SunOS build To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/samurai/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/samurai/patches/patch-graph.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_160514427673870 Content-Disposition: inline Content-Length: 1600 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/samurai/distinfo diff -u pkgsrc/devel/samurai/distinfo:1.3 pkgsrc/devel/samurai/distinfo:1.4 --- pkgsrc/devel/samurai/distinfo:1.3 Sat Jun 13 17:50:40 2020 +++ pkgsrc/devel/samurai/distinfo Thu Nov 12 01:24:35 2020 @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2020/06/13 17:50:40 nia Exp $ +$NetBSD: distinfo,v 1.4 2020/11/12 01:24:35 gutteridge Exp $ SHA1 (samurai-1.1.tar.gz) = 22e9f7ed5e96db903b903660bf8dc0bee955cc16 RMD160 (samurai-1.1.tar.gz) = 382a2f7b35500e875b2500446f710a800091dd26 SHA512 (samurai-1.1.tar.gz) = b27302c34d736f483909e57c8b162609eaa4c86571c1167b71a5564b521cc3af2861307a16bb6dca55e80952088989e9526b103160d2ea054d15f4ed85b1cedb Size (samurai-1.1.tar.gz) = 32023 bytes +SHA1 (patch-graph.c) = 5ac00930eca760beb787a8b950eb2c3ca577d78a Added files: Index: pkgsrc/devel/samurai/patches/patch-graph.c diff -u /dev/null pkgsrc/devel/samurai/patches/patch-graph.c:1.1 --- /dev/null Thu Nov 12 01:24:36 2020 +++ pkgsrc/devel/samurai/patches/patch-graph.c Thu Nov 12 01:24:36 2020 @@ -0,0 +1,15 @@ +$NetBSD: patch-graph.c,v 1.1 2020/11/12 01:24:36 gutteridge Exp $ + +Fix SunOS build. https://github.com/michaelforney/samurai/pull/59 + +--- graph.c.orig 2020-03-29 00:40:58.000000000 +0000 ++++ graph.c +@@ -93,6 +93,8 @@ nodestat(struct node *n) + } else { + #ifdef __APPLE__ + n->mtime = (int64_t)st.st_mtime * 1000000000 + st.st_mtimensec; ++#elif defined(__sun) ++ n->mtime = (int64_t)st.st_mtim.__tv_sec * 1000000000 + st.st_mtim.__tv_nsec; + #else + n->mtime = (int64_t)st.st_mtim.tv_sec * 1000000000 + st.st_mtim.tv_nsec; + #endif --_----------=_160514427673870--