pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libuv libuv: Add a patch to fix a test failure, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6fe0e5fe3b9c
branches: trunk
changeset: 400094:6fe0e5fe3b9c
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Aug 22 10:28:25 2019 +0000
description:
libuv: Add a patch to fix a test failure, from adam@
Add upstream bug report URLs and comments, where missing.
diffstat:
devel/libuv/distinfo | 11 ++++++-----
devel/libuv/patches/patch-configure.ac | 3 ++-
devel/libuv/patches/patch-src_unix_fs.c | 3 ++-
devel/libuv/patches/patch-src_unix_netbsd.c | 5 ++++-
devel/libuv/patches/patch-src_unix_thread.c | 3 ++-
devel/libuv/patches/patch-test_test-fs.c | 16 ++++++++++++++++
6 files changed, 32 insertions(+), 9 deletions(-)
diffs (89 lines):
diff -r afaabf21b34f -r 6fe0e5fe3b9c devel/libuv/distinfo
--- a/devel/libuv/distinfo Thu Aug 22 09:59:47 2019 +0000
+++ b/devel/libuv/distinfo Thu Aug 22 10:28:25 2019 +0000
@@ -1,11 +1,12 @@
-$NetBSD: distinfo,v 1.48 2019/08/16 12:06:31 wiz Exp $
+$NetBSD: distinfo,v 1.49 2019/08/22 10:28:25 wiz Exp $
SHA1 (libuv-1.31.0.tar.gz) = 1434cb0e2909877eb94d459d04c8a146692492db
RMD160 (libuv-1.31.0.tar.gz) = b9c56562f91f2a1e1dc49341141e28baa84fd457
SHA512 (libuv-1.31.0.tar.gz) = bb27ab86f2f6e9c2b22e768216097db2b69e468967b48bf1a15d17c36b445355ee4bd356f59bbd1bcf7d7c0d3f68b2c6660f999a2cc0660033eb5e3775499409
Size (libuv-1.31.0.tar.gz) = 1238566 bytes
SHA1 (patch-autogen.sh) = a5f48189bfb17624c545a80626ea311b7755d232
-SHA1 (patch-configure.ac) = e6636d522dc9218fc9aee62846426645473cb6cd
-SHA1 (patch-src_unix_fs.c) = 852fd7da9f19dc53427b98ae84b1aa7146418a41
-SHA1 (patch-src_unix_netbsd.c) = 3386e702e3acc29bba6f3f5f612db728473b2a73
-SHA1 (patch-src_unix_thread.c) = da1fe29d95594355f57f8024613122c34b6510e5
+SHA1 (patch-configure.ac) = 06500ab342d1af50f03bc92f2cb4a2ec28db84cc
+SHA1 (patch-src_unix_fs.c) = 97b7ec45ecd8a96a97680a8fde9f0261e3508b5d
+SHA1 (patch-src_unix_netbsd.c) = 4bea4eda43c4256b5281bc798a46d29690917d27
+SHA1 (patch-src_unix_thread.c) = 7a9a5d19025bb7bb8968a9f5c5e0c67f37021b89
+SHA1 (patch-test_test-fs.c) = 7a6eb5f895e44067ebdd045bba86105faa3cefe0
diff -r afaabf21b34f -r 6fe0e5fe3b9c devel/libuv/patches/patch-configure.ac
--- a/devel/libuv/patches/patch-configure.ac Thu Aug 22 09:59:47 2019 +0000
+++ b/devel/libuv/patches/patch-configure.ac Thu Aug 22 10:28:25 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-configure.ac,v 1.1 2017/03/28 18:44:49 maya Exp $
+$NetBSD: patch-configure.ac,v 1.2 2019/08/22 10:28:25 wiz Exp $
Add feature-test for pthread_condattr_setclock absent in netbsd-6-0
+https://github.com/libuv/libuv/pull/2436
--- configure.ac.orig 2017-02-01 00:38:56.000000000 +0000
+++ configure.ac
diff -r afaabf21b34f -r 6fe0e5fe3b9c devel/libuv/patches/patch-src_unix_fs.c
--- a/devel/libuv/patches/patch-src_unix_fs.c Thu Aug 22 09:59:47 2019 +0000
+++ b/devel/libuv/patches/patch-src_unix_fs.c Thu Aug 22 10:28:25 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_unix_fs.c,v 1.2 2019/08/16 12:06:31 wiz Exp $
+$NetBSD: patch-src_unix_fs.c,v 1.3 2019/08/22 10:28:25 wiz Exp $
* Fix portability on NetBSD.
+https://github.com/libuv/libuv/pull/2436
--- src/unix/fs.c.orig 2019-08-09 14:57:12.000000000 +0000
+++ src/unix/fs.c
diff -r afaabf21b34f -r 6fe0e5fe3b9c devel/libuv/patches/patch-src_unix_netbsd.c
--- a/devel/libuv/patches/patch-src_unix_netbsd.c Thu Aug 22 09:59:47 2019 +0000
+++ b/devel/libuv/patches/patch-src_unix_netbsd.c Thu Aug 22 10:28:25 2019 +0000
@@ -1,4 +1,7 @@
-$NetBSD: patch-src_unix_netbsd.c,v 1.1 2017/10/06 15:58:15 kamil Exp $
+$NetBSD: patch-src_unix_netbsd.c,v 1.2 2019/08/22 10:28:25 wiz Exp $
+
+Check for KERN_PROC_PATHNAME before using it, or use fallback implementation.
+https://github.com/libuv/libuv/pull/2436
--- src/unix/netbsd.c.orig 2017-10-02 23:30:27.000000000 +0000
+++ src/unix/netbsd.c
diff -r afaabf21b34f -r 6fe0e5fe3b9c devel/libuv/patches/patch-src_unix_thread.c
--- a/devel/libuv/patches/patch-src_unix_thread.c Thu Aug 22 09:59:47 2019 +0000
+++ b/devel/libuv/patches/patch-src_unix_thread.c Thu Aug 22 10:28:25 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_unix_thread.c,v 1.6 2019/04/18 07:47:33 adam Exp $
+$NetBSD: patch-src_unix_thread.c,v 1.7 2019/08/22 10:28:25 wiz Exp $
Use feature test for pthread_condattr_setclock, absent in netbsd-6-0
+https://github.com/libuv/libuv/pull/2436
--- src/unix/thread.c.orig 2019-02-10 16:44:47.000000000 +0000
+++ src/unix/thread.c
diff -r afaabf21b34f -r 6fe0e5fe3b9c devel/libuv/patches/patch-test_test-fs.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libuv/patches/patch-test_test-fs.c Thu Aug 22 10:28:25 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-test_test-fs.c,v 1.1 2019/08/22 10:28:25 wiz Exp $
+
+Use statvfs on NetBSD.
+https://github.com/libuv/libuv/pull/2436
+
+--- test/test-fs.c.orig 2019-08-09 14:57:12.000000000 +0000
++++ test/test-fs.c
+@@ -339,7 +339,7 @@ static void statfs_cb(uv_fs_t* req) {
+ ASSERT(req->ptr != NULL);
+ stats = req->ptr;
+
+-#if defined(_WIN32) || defined(__sun) || defined(_AIX) || defined(__MVS__)
++#if defined(_WIN32) || defined(__sun) || defined(_AIX) || defined(__MVS__) || defined(__NetBSD__)
+ ASSERT(stats->f_type == 0);
+ #else
+ ASSERT(stats->f_type > 0);
Home |
Main Index |
Thread Index |
Old Index