pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/samurai



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.

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



Home | Main Index | Thread Index | Old Index