diff options
author | wiz <wiz@pkgsrc.org> | 2019-08-22 10:28:25 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2019-08-22 10:28:25 +0000 |
commit | 91e63dd6c66c6c1848ae384120914e940a240c7c (patch) | |
tree | d91460d7a1124eeb4058ee3b3ce0d40a8840bf18 /devel/libuv | |
parent | b920cea5e4bc364323679d35865a79b935b3e572 (diff) | |
download | pkgsrc-91e63dd6c66c6c1848ae384120914e940a240c7c.tar.gz |
libuv: Add a patch to fix a test failure, from adam@
Add upstream bug report URLs and comments, where missing.
Diffstat (limited to 'devel/libuv')
-rw-r--r-- | devel/libuv/distinfo | 11 | ||||
-rw-r--r-- | devel/libuv/patches/patch-configure.ac | 3 | ||||
-rw-r--r-- | devel/libuv/patches/patch-src_unix_fs.c | 3 | ||||
-rw-r--r-- | devel/libuv/patches/patch-src_unix_netbsd.c | 5 | ||||
-rw-r--r-- | devel/libuv/patches/patch-src_unix_thread.c | 3 | ||||
-rw-r--r-- | devel/libuv/patches/patch-test_test-fs.c | 16 |
6 files changed, 32 insertions, 9 deletions
diff --git a/devel/libuv/distinfo b/devel/libuv/distinfo index 68ef9203a4c..3ab69346735 100644 --- a/devel/libuv/distinfo +++ b/devel/libuv/distinfo @@ -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 --git a/devel/libuv/patches/patch-configure.ac b/devel/libuv/patches/patch-configure.ac index c6af9c7fcb7..31cf431274a 100644 --- a/devel/libuv/patches/patch-configure.ac +++ b/devel/libuv/patches/patch-configure.ac @@ -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 --git a/devel/libuv/patches/patch-src_unix_fs.c b/devel/libuv/patches/patch-src_unix_fs.c index 3171527dd6c..081364b9cf3 100644 --- a/devel/libuv/patches/patch-src_unix_fs.c +++ b/devel/libuv/patches/patch-src_unix_fs.c @@ -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 --git a/devel/libuv/patches/patch-src_unix_netbsd.c b/devel/libuv/patches/patch-src_unix_netbsd.c index b20ee88876a..7f47f4c00d6 100644 --- a/devel/libuv/patches/patch-src_unix_netbsd.c +++ b/devel/libuv/patches/patch-src_unix_netbsd.c @@ -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 --git a/devel/libuv/patches/patch-src_unix_thread.c b/devel/libuv/patches/patch-src_unix_thread.c index 3f36462610a..9953a107051 100644 --- a/devel/libuv/patches/patch-src_unix_thread.c +++ b/devel/libuv/patches/patch-src_unix_thread.c @@ -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 --git a/devel/libuv/patches/patch-test_test-fs.c b/devel/libuv/patches/patch-test_test-fs.c new file mode 100644 index 00000000000..ccd995147c6 --- /dev/null +++ b/devel/libuv/patches/patch-test_test-fs.c @@ -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); |