pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libuv
Module Name: pkgsrc
Committed By: taca
Date: Wed Mar 22 01:45:08 UTC 2017
Modified Files:
pkgsrc/devel/libuv: distinfo
Added Files:
pkgsrc/devel/libuv/patches: patch-src_unix_fs.c
Log Message:
Fix build problem on NetBSD 6.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/libuv/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libuv/patches/patch-src_unix_fs.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/libuv/distinfo
diff -u pkgsrc/devel/libuv/distinfo:1.11 pkgsrc/devel/libuv/distinfo:1.12
--- pkgsrc/devel/libuv/distinfo:1.11 Tue Feb 7 12:59:33 2017
+++ pkgsrc/devel/libuv/distinfo Wed Mar 22 01:45:07 2017
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2017/02/07 12:59:33 wiz Exp $
+$NetBSD: distinfo,v 1.12 2017/03/22 01:45:07 taca Exp $
SHA1 (libuv-1.11.0.tar.gz) = 54f0972aa0d3f6a6036d477b381c01f030f9a2b5
RMD160 (libuv-1.11.0.tar.gz) = f2ed5e5c457a66625875d9fcd56584feebc94268
SHA512 (libuv-1.11.0.tar.gz) = fb0415d62a32cfc658bad6c849263ac236d27e9188fac603467173a5ae34fb3ad3e3bfd333e543ebd98b4fd59e0a58a93275e830c4365c058b62bb0c2c802732
Size (libuv-1.11.0.tar.gz) = 1083067 bytes
SHA1 (patch-autogen.sh) = a5f48189bfb17624c545a80626ea311b7755d232
+SHA1 (patch-src_unix_fs.c) = 21fffa99df9528aedee0c6fe299d28ff5110d2ba
Added files:
Index: pkgsrc/devel/libuv/patches/patch-src_unix_fs.c
diff -u /dev/null pkgsrc/devel/libuv/patches/patch-src_unix_fs.c:1.1
--- /dev/null Wed Mar 22 01:45:08 2017
+++ pkgsrc/devel/libuv/patches/patch-src_unix_fs.c Wed Mar 22 01:45:08 2017
@@ -0,0 +1,33 @@
+$NetBSD: patch-src_unix_fs.c,v 1.1 2017/03/22 01:45:08 taca Exp $
+
+* Fix portability on NetBSD.
+
+--- src/unix/fs.c.orig 2017-02-01 00:38:56.000000000 +0000
++++ src/unix/fs.c
+@@ -778,7 +778,7 @@ static void uv__to_stat(struct stat* src
+ dst->st_blksize = src->st_blksize;
+ dst->st_blocks = src->st_blocks;
+
+-#if defined(__APPLE__)
++#if defined(__APPLE__) || defined(__NetBSD__)
+ dst->st_atim.tv_sec = src->st_atimespec.tv_sec;
+ dst->st_atim.tv_nsec = src->st_atimespec.tv_nsec;
+ dst->st_mtim.tv_sec = src->st_mtimespec.tv_sec;
+@@ -804,7 +804,6 @@ static void uv__to_stat(struct stat* src
+ defined(__DragonFly__) || \
+ defined(__FreeBSD__) || \
+ defined(__OpenBSD__) || \
+- defined(__NetBSD__) || \
+ defined(_GNU_SOURCE) || \
+ defined(_BSD_SOURCE) || \
+ defined(_SVID_SOURCE) || \
+@@ -816,8 +815,7 @@ static void uv__to_stat(struct stat* src
+ dst->st_mtim.tv_nsec = src->st_mtim.tv_nsec;
+ dst->st_ctim.tv_sec = src->st_ctim.tv_sec;
+ dst->st_ctim.tv_nsec = src->st_ctim.tv_nsec;
+-# if defined(__FreeBSD__) || \
+- defined(__NetBSD__)
++# if defined(__FreeBSD__)
+ dst->st_birthtim.tv_sec = src->st_birthtim.tv_sec;
+ dst->st_birthtim.tv_nsec = src->st_birthtim.tv_nsec;
+ dst->st_flags = src->st_flags;
Home |
Main Index |
Thread Index |
Old Index