pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/samurai samurai: update to 1.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/33b9056817ca
branches:  trunk
changeset: 443610:33b9056817ca
user:      mcf <mcf%pkgsrc.org@localhost>
date:      Thu Dec 17 22:01:04 2020 +0000

description:
samurai: update to 1.2

## New features

- Subtools `list`, `query`, and `commands` are now implemented.
- Dry-run execution is now supported (`-n` flag).
- The `%o` specifier is now supported in `NINJA_STATUS`, used to
  display the average rate of finished jobs.

## Bug fixes

- Fix version comparison when checking `ninja_required_version`
  with a version that has multiple digits in some component.

## Other changes

- Work around POSIX.1-2008 conformance issue on SunOS-based operating
  systems.

diffstat:

 devel/samurai/Makefile              |   4 ++--
 devel/samurai/distinfo              |  11 +++++------
 devel/samurai/patches/patch-graph.c |  15 ---------------
 3 files changed, 7 insertions(+), 23 deletions(-)

diffs (47 lines):

diff -r dc9823c8d979 -r 33b9056817ca devel/samurai/Makefile
--- a/devel/samurai/Makefile    Thu Dec 17 20:18:52 2020 +0000
+++ b/devel/samurai/Makefile    Thu Dec 17 22:01:04 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2020/06/13 17:50:40 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/12/17 22:01:04 mcf Exp $
 
-DISTNAME=      samurai-1.1
+DISTNAME=      samurai-1.2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=michaelforney/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
diff -r dc9823c8d979 -r 33b9056817ca devel/samurai/distinfo
--- a/devel/samurai/distinfo    Thu Dec 17 20:18:52 2020 +0000
+++ b/devel/samurai/distinfo    Thu Dec 17 22:01:04 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2020/11/12 01:24:35 gutteridge Exp $
+$NetBSD: distinfo,v 1.5 2020/12/17 22:01:04 mcf 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
+SHA1 (samurai-1.2.tar.gz) = b3afe2ad097f5e5e0a36781f058382e2a4d4d5bc
+RMD160 (samurai-1.2.tar.gz) = 123a18bafa89b12a5ecb46c95f6cdf5a7639c3a5
+SHA512 (samurai-1.2.tar.gz) = bbe6a582c34b04f1df53b76c1647aa3e03c4698ebf7591a203935f11ffa05971bbcb86dc1a8c06aeb904cdc741abb08918122810fc47216fed0a6d9f87fd1225
+Size (samurai-1.2.tar.gz) = 32709 bytes
diff -r dc9823c8d979 -r 33b9056817ca devel/samurai/patches/patch-graph.c
--- a/devel/samurai/patches/patch-graph.c       Thu Dec 17 20:18:52 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$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



Home | Main Index | Thread Index | Old Index