pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libuv libuv: updated to 1.33.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b9873f94b6d
branches:  trunk
changeset: 416195:7b9873f94b6d
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 21 09:42:06 2019 +0000

description:
libuv: updated to 1.33.1

v1.33.1:
* linux: fix arm64 SYS__sysctl build breakage

v1.33.0:
* Revert "linux: drop code path for epoll_pwait-less kernels"
* build: fix build error with __ANDROID_API__ < 21
* win: fix reading hidden env vars
* unix,win: add uv_random()
* win: simplify mkdtemp
* docs: fix literal-includes in User Guide
* win, tty: fix problem of receiving unexpected SIGWINCH
* unix: fix {Net,Open}BSD build
* win,mingw: Fix undefined MCAST_* constants
* build: Add link for test/fixtures/lorem_ipsum.txt
* fs: use statvfs in uv__fs_statfs() for Haiku
* fsevents: stop using fsevents to watch files
* fsevents: regression in watching /
* build,cmake: don't try to detect a C++ compiler
* build: fix build warning on cygwin
* unix: set sin_len and sin6_len
* test: fix order of operations in test
* doc: improve uv_fs_readdir() cleanup docs
* build: remove duplicated test in build files
* android: enable getentropy on Android >= 28
* android: fix build
* darwin: speed up uv_set_process_title()
* darwin: assume pthread_setname_np() is available
* unix,udp: ensure addr is non-null
* win,tty: add uv_tty_{get,set}_vterm_state
* win: fix uv_statfs_t leak in uv_fs_statfs()
* build: install files on windows via cmake
* darwin,test: include AvailabilityMacros.h
* darwin,test: update loop time after sleeping
* doc: remove old FreeBSD 9 related note
* doc: improve uv_{send,recv}_buffer_size() docs
* build: move -Wno-long-long check to configure time
* unix: update uv_fs_copyfile() fallback logic
* win: cast setsockopt struct to const char*

diffstat:

 devel/libuv/Makefile                     |   4 +-
 devel/libuv/distinfo                     |  13 ++++-----
 devel/libuv/patches/patch-src_unix_fs.c  |  30 ++++------------------
 devel/libuv/patches/patch-src_unix_udp.c |  41 --------------------------------
 4 files changed, 14 insertions(+), 74 deletions(-)

diffs (135 lines):

diff -r a64520ed3546 -r 7b9873f94b6d devel/libuv/Makefile
--- a/devel/libuv/Makefile      Mon Oct 21 09:40:35 2019 +0000
+++ b/devel/libuv/Makefile      Mon Oct 21 09:42:06 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2019/09/10 11:21:08 adam Exp $
+# $NetBSD: Makefile,v 1.56 2019/10/21 09:42:06 adam Exp $
 
-DISTNAME=      libuv-1.32.0
+DISTNAME=      libuv-1.33.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libuv/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r a64520ed3546 -r 7b9873f94b6d devel/libuv/distinfo
--- a/devel/libuv/distinfo      Mon Oct 21 09:40:35 2019 +0000
+++ b/devel/libuv/distinfo      Mon Oct 21 09:42:06 2019 +0000
@@ -1,13 +1,12 @@
-$NetBSD: distinfo,v 1.50 2019/09/10 11:21:08 adam Exp $
+$NetBSD: distinfo,v 1.51 2019/10/21 09:42:06 adam Exp $
 
-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 (libuv-1.33.1.tar.gz) = 1855cc5f323902939d2c4aa066199c8df9b69992
+RMD160 (libuv-1.33.1.tar.gz) = 78295a082df4cab98e06e9a6d17f2e43bd7f9f85
+SHA512 (libuv-1.33.1.tar.gz) = 0200aae2d38c26f537658955479cbc54fb69d5d8cbbccf3016cea319b2c46b1f311ca7a8fc289f14532acbbf2905cf96b17353b8b92bf09802424c372701d1d5
+Size (libuv-1.33.1.tar.gz) = 1251944 bytes
 SHA1 (patch-autogen.sh) = a5f48189bfb17624c545a80626ea311b7755d232
 SHA1 (patch-configure.ac) = 06500ab342d1af50f03bc92f2cb4a2ec28db84cc
-SHA1 (patch-src_unix_fs.c) = 97b7ec45ecd8a96a97680a8fde9f0261e3508b5d
+SHA1 (patch-src_unix_fs.c) = 15b464be3e31c0934732c537c4163b5b96665f63
 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 -r a64520ed3546 -r 7b9873f94b6d devel/libuv/patches/patch-src_unix_fs.c
--- a/devel/libuv/patches/patch-src_unix_fs.c   Mon Oct 21 09:40:35 2019 +0000
+++ b/devel/libuv/patches/patch-src_unix_fs.c   Mon Oct 21 09:42:06 2019 +0000
@@ -1,29 +1,11 @@
-$NetBSD: patch-src_unix_fs.c,v 1.3 2019/08/22 10:28:25 wiz Exp $
+$NetBSD: patch-src_unix_fs.c,v 1.4 2019/10/21 09:42:06 adam Exp $
 
-* Fix portability on NetBSD.
+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.orig 2019-10-19 21:32:27.000000000 +0000
 +++ src/unix/fs.c
-@@ -537,7 +537,7 @@ static int uv__fs_closedir(uv_fs_t* req)
- 
- static int uv__fs_statfs(uv_fs_t* req) {
-   uv_statfs_t* stat_fs;
--#if defined(__sun) || defined(__MVS__)
-+#if defined(__sun) || defined(__MVS__) || defined(__NetBSD__)
-   struct statvfs buf;
- 
-   if (0 != statvfs(req->path, &buf))
-@@ -554,7 +554,7 @@ static int uv__fs_statfs(uv_fs_t* req) {
-     return -1;
-   }
- 
--#if defined(__sun) || defined(__MVS__)
-+#if defined(__sun) || defined(__MVS__) || defined(__NetBSD__)
-   stat_fs->f_type = 0;  /* f_type is not supported. */
- #else
-   stat_fs->f_type = buf.f_type;
-@@ -1147,7 +1147,7 @@ static void uv__to_stat(struct stat* src
+@@ -1138,7 +1138,7 @@ static void uv__to_stat(struct stat* src
    dst->st_blksize = src->st_blksize;
    dst->st_blocks = src->st_blocks;
  
@@ -32,7 +14,7 @@
    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;
-@@ -1173,7 +1173,6 @@ static void uv__to_stat(struct stat* src
+@@ -1164,7 +1164,6 @@ static void uv__to_stat(struct stat* src
      defined(__DragonFly__)   || \
      defined(__FreeBSD__)     || \
      defined(__OpenBSD__)     || \
@@ -40,7 +22,7 @@
      defined(_GNU_SOURCE)     || \
      defined(_BSD_SOURCE)     || \
      defined(_SVID_SOURCE)    || \
-@@ -1185,8 +1184,7 @@ static void uv__to_stat(struct stat* src
+@@ -1176,8 +1175,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;
diff -r a64520ed3546 -r 7b9873f94b6d devel/libuv/patches/patch-src_unix_udp.c
--- a/devel/libuv/patches/patch-src_unix_udp.c  Mon Oct 21 09:40:35 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-$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
- }
- 
- 



Home | Main Index | Thread Index | Old Index