summaryrefslogtreecommitdiff
path: root/devel/libuv
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-09-10 11:21:08 +0000
committeradam <adam@pkgsrc.org>2019-09-10 11:21:08 +0000
commita5a12fea7047857d2add7a2b16bdc252149b947a (patch)
tree09183e6d023ae60e71dad59ebad7e0b60cc18abe /devel/libuv
parent19a866530fb152ccdaa927016fbb848782bbc607 (diff)
downloadpkgsrc-a5a12fea7047857d2add7a2b16bdc252149b947a.tar.gz
libuv: updated to 1.32.0
v1.32.0: * misc: enable stalebot * win: map ERROR_ENVVAR_NOT_FOUND to UV_ENOENT * win: use L'\0' as UTF-16 null terminator * win: support retrieving empty env variables * unix,stream: fix returned error codes * test: fix typo in DYLD_LIBRARY_PATH * unix,signal: keep handle active if pending signal * openbsd: fix uv_cpu_info * src: move uv_free_cpu_info to uv-common.c * tcp: add uv_tcp_close_reset method * test: fix udp-multicast-join tests * test: remove assertion in fs_statfs test * doc: clarify uv_buf_t usage in uv_alloc_cb * win: fix typo in preprocessor expression * timer: fix uv_timer_start on closing timer * udp: add source-specific multicast support * udp: fix error return values * udp: drop IPV6_SSM_SUPPORT macro * udp: fix uv__udp_set_source_membership6 * udp: use sockaddr_storage instead of union * build,zos: add _OPEN_SYS_SOCK_EXT3 flag * test: add specific source multicast tests * include: map EILSEQ error code * win, tty: improve SIGWINCH performance * build: fix ios build error * aix: replace ECONNRESET with EOF if already closed * build: add cmake library VERSION, SOVERSION * build: make include/ public in CMakeLists.txt * build: export USING_UV_SHARED=1 to cmake deps * build: cmake_minimum_required(VERSION 2.8.12) * aix: Fix broken cmpxchgi() XL C++ specialization. * test: fix -Wsign-compare warning * unix: simplify open(O_CLOEXEC) feature detection * unix: fix UV_FS_O_DIRECT definition on Linux * doc: uv_handle_t documentation suggestion
Diffstat (limited to 'devel/libuv')
-rw-r--r--devel/libuv/Makefile4
-rw-r--r--devel/libuv/distinfo11
-rw-r--r--devel/libuv/patches/patch-src_unix_udp.c41
3 files changed, 49 insertions, 7 deletions
diff --git a/devel/libuv/Makefile b/devel/libuv/Makefile
index 8397cbbfbc8..0cb71ece327 100644
--- a/devel/libuv/Makefile
+++ b/devel/libuv/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.54 2019/08/22 10:32:16 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2019/09/10 11:21:08 adam Exp $
-DISTNAME= libuv-1.31.0
+DISTNAME= libuv-1.32.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=libuv/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff --git a/devel/libuv/distinfo b/devel/libuv/distinfo
index 3ab69346735..a91f5b75b15 100644
--- a/devel/libuv/distinfo
+++ b/devel/libuv/distinfo
@@ -1,12 +1,13 @@
-$NetBSD: distinfo,v 1.49 2019/08/22 10:28:25 wiz Exp $
+$NetBSD: distinfo,v 1.50 2019/09/10 11:21:08 adam 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 (libuv-1.32.0.tar.gz) = 3166a82d73f8bb529badd7a9bb52ef1913b147f5
+RMD160 (libuv-1.32.0.tar.gz) = 8bb1e021bdca274622f6003f92466fc8b2d061e1
+SHA512 (libuv-1.32.0.tar.gz) = 3e043a56fd09fdaf3c89f81b3dff70a385ba8a59ec065447c95199a0e45da323b8545fb13b50139c557541357450103a88297fdc921832de661f3e2700173b96
+Size (libuv-1.32.0.tar.gz) = 1242643 bytes
SHA1 (patch-autogen.sh) = a5f48189bfb17624c545a80626ea311b7755d232
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-src_unix_udp.c) = 98ed0072c7a2eceb67c05560757c9103bee658e2
SHA1 (patch-test_test-fs.c) = 7a6eb5f895e44067ebdd045bba86105faa3cefe0
diff --git a/devel/libuv/patches/patch-src_unix_udp.c b/devel/libuv/patches/patch-src_unix_udp.c
new file mode 100644
index 00000000000..26f0b9b4461
--- /dev/null
+++ b/devel/libuv/patches/patch-src_unix_udp.c
@@ -0,0 +1,41 @@
+$NetBSD: patch-src_unix_udp.c,v 1.1 2019/09/10 11:21:08 adam Exp $
+
+Fix building on NetBSD and OpenBSD.
+https://github.com/libuv/libuv/pull/2458
+
+--- src/unix/udp.c.orig 2019-09-10 09:09:18.000000000 +0000
++++ src/unix/udp.c
+@@ -659,6 +659,7 @@ static int uv__udp_set_membership6(uv_ud
+ }
+
+
++#if !defined(__NetBSD__) && !defined(__OpenBSD__)
+ static int uv__udp_set_source_membership4(uv_udp_t* handle,
+ const struct sockaddr_in* multicast_addr,
+ const char* interface_addr,
+@@ -749,6 +750,7 @@ static int uv__udp_set_source_membership
+
+ return 0;
+ }
++#endif
+
+
+ int uv_udp_init_ex(uv_loop_t* loop, uv_udp_t* handle, unsigned int flags) {
+@@ -846,6 +848,7 @@ int uv_udp_set_source_membership(uv_udp_
+ const char* interface_addr,
+ const char* source_addr,
+ uv_membership membership) {
++#if !defined(__NetBSD__) && !defined(__OpenBSD__)
+ int err;
+ struct sockaddr_storage mcast_addr;
+ struct sockaddr_in* mcast_addr4;
+@@ -882,6 +885,9 @@ int uv_udp_set_source_membership(uv_udp_
+ interface_addr,
+ src_addr4,
+ membership);
++#else
++ return UV_ENOSYS;
++#endif
+ }
+
+