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:   adam
Date:           Wed Feb 11 09:05:25 UTC 2026

Modified Files:
        pkgsrc/devel/libuv: Makefile distinfo
        pkgsrc/devel/libuv/patches: patch-src_unix_core.c patch-src_unix_udp.c

Log Message:
libuv: updated to 1.52.0

2026.02.11, Version 1.52.0 (Stable)

* src: remove unused include of <assert.h> in timer.c (Juan José Arboleda)
* test: skip `udp_multicast_join` if not system-wide available (Juan José
  Arboleda)
* test: remove unused include of <limits.h> in runner.h (Juan José Arboleda)
* doc: don't mention UV_LOOP_ENABLE_IO_URING_SQPOLL (Poul T Lomholt)
* unix: fix uv_thread_{get,set}priority error codes (Ryan Liptak)
* build: dedup sanitizer jobs using matrix strategy (Juan José Arboleda)
* doc: update ncurses link (Saúl Ibarra Corretgé)
* tcp: support customizing TCP_KEEPINTVL and TCP_KEEPCNT (Andy Pan)
* linux: fix -Wformat-truncation warning (Ben Noordhuis)
* src: fix nullptr dereference in uv__print_handles (jhnh204)
* build: make automake link libm on bsd-likes (Juan José Arboleda)
* include: remove unused macro undefs from uv.h (Juan José Arboleda)
* win: handle empty string in uv_get_process_title (Ben Noordhuis)
* win: use WSA_FLAG_NO_HANDLE_INHERIT in WSASocketW (chemodax)
* unix: handle possible `ENOMEM` in `uv__tcp_listen` (Juan José Arboleda)
* win: replace GetModuleHandleA with GetModuleHandleW (chemodax)
* qnx: add qnx 8 support (Deep C)
* mailmap: update email address for Richard Lau (Richard Lau)
* win: remove obsolete comment (Ben Noordhuis)
* unix: handle possible `ENOMEM` in `uv__pipe_listen` (Juan José Arboleda)
* unix: deduplicate uv_free_interface_addresses (Juan José Arboleda)
* test: pass correct string type to GetModuleHandleW (Ben Noordhuis)
* win: remove unnecessary inlining from fs.c (Ben Noordhuis)
* win: move uv__process_reqs to core.c (Ben Noordhuis)
* win: remove unnecessary inlining from header file (Ben Noordhuis)
* test: skip slow process title test on asan+macos (Ben Noordhuis)
* win: dissolve atomicops-inl.h (Ben Noordhuis)
* win: move uv__process_endgames to core.c (Ben Noordhuis)
* win: move uv__insert_pending_req to core.c (Ben Noordhuis)
* win: replace inline asm with compiler intrinsic (Ben Noordhuis)
* win,pipe: minimal fix to uv_read_cb->uv_read_start recursion bug (Jameson
  Nash)
* doc: make requirements work with newer python (Luca Saccarola)
* win: fix -Wcast-function-type warnings in winapi.c (Ben Noordhuis)
* win: fix -Wsign-compare warnings (Ben Noordhuis)
* test: simplify ASSERT_OK macro for static analysis (Jameson Nash)
* win: add arm64 machine type to uv_os_uname (wisemanny)
* win: use ProcessPrng (Ben Noordhuis)
* win: work around wine bug in uv_fs_{unlink,rmdir} (Keno Fischer)
* doc: fix return value for uv_pipe_connect2 (Sean Dewar)
* unix: fix udp sendmmsg fallback path (Ben Noordhuis)
* doc: add binding `C framework` uv_coroutine to LINKS.md (Lawrence Stubbs)
* linux: handle cgroups cpu.max with limit < period (Ben Noordhuis)
* doc: update link, repo name change to c-asio (Lawrence Stubbs)
* build(deps): bump actions/download-artifact from 4 to 5 (dependabot[bot])
* doc: remove nodeuv from LINKS.md (Ben Noordhuis)
* test: use relative paths for pipes and unix sockets (Emily)
* build(deps): bump actions/checkout from 4 to 5 (dependabot[bot])
* unix: improve uv__cpu_relax() on arm (Anton Kirilov)
* win: fix compiler warnings (Savas Sahin)
* unix: replace uv__io_t callback pointer with enum (Ben Noordhuis)
* test,win: fix -Wunused-function warnings (Ben Noordhuis)
* test,win: fix -Wcast-function-type warnings (Ben Noordhuis)
* test,win: fix -Wattributes warnings (Ben Noordhuis)
* win: shrink fd hash table from 2592k to 162k (Ben Noordhuis)
* unix: fix build on the bsds (Ben Noordhuis)
* netbsd: fix thread affinity compilation error (Santiago Gimeno)
* unix: remove UV__SIGNAL_EVENT dispatch from uv__io_cb (Juan José Arboleda)
* build: add -Werror when testing -Wflags (Jameson Nash)
* win: fix path size calculation (Ben Noordhuis)
* doc: correct uv_cancel return value (m0cg)
* unix,win: look up UV_THREADPOOL_SIZE with uv_os_getenv (moe li)
* build(deps): bump actions/setup-python from 5 to 6 (dependabot[bot])
* unix: fix uv__signal_loop_cleanup call in init (Jameson Nash)
* aix: fix nullptr check in uv__skip_lines (Ben Noordhuis)
* unix: add neoverse-v2 cpu identifier (green-br)
* test: make `thread_priority` robust against system default nice levels
 (Juan José Arboleda)
* unix,win: implement `uv_udp_open_ex` (Juan José Arboleda)
* aix: add stub function to satisfy linker (Ben Noordhuis)
* linux: add MSG_ERRQUEUE ipv4/ipv6 udp support (Juan José Arboleda)
* ibmi: add stub function to satisfy linker (Ben Noordhuis)
* darwin: better heuristic for available memory (Christian Guinard)
* build(deps): bump actions/download-artifact from 5 to 6 (dependabot[bot])
* build(deps): bump actions/upload-artifact from 4 to 5 (dependabot[bot])
* unix: fix use of uninitialized variable (Ben Noordhuis)
* doc: fix documentation for uv_utf16_to_wtf8() function (Gang Zhuo)
* win: rename minimal_windows10_version1709() for libuv's convention (Andy Pan)
* build(deps): bump actions/checkout from 5 to 6 (dependabot[bot])
* win: fix race in uv_fs_event_start() (Ben Noordhuis)
* unix: support nanosecond resolution in uv__fs_to_timespec (Ayush Kumar)
* win: handle sshfs-win quirk in uv_fs_readdir() (Ben Noordhuis)
* unix,win: fix leak in uv_os_environ error path (Ambuj Vashistha)
* test: add macros to run fs tests with io_uring (Santiago Gimeno)
* linux: fix uv_fs_ftruncate io_uring implementation (Santiago Gimeno)
* Update OS X reference to macOS in README (Bart Louwers)
* ci: update macos runner images (Ben Noordhuis)
* doc: add example usage for uv_sleep (Kartik Puri)
* ci: add macos-15-intel to matrix (Ben Noordhuis)
* win: Optimize file/directory delete. (chemodax)
* build(deps): bump actions/download-artifact from 6 to 7 (dependabot[bot])
* build(deps): bump actions/upload-artifact from 5 to 6 (dependabot[bot])
* test: run more fs tests using io_uring too (Santiago Gimeno)
* doc: add handle and request usage guidelines (Ben Noordhuis)
* unix: remove handle from queue on uv_spawn() error (Oblivionsage)
* doc: remove hp-ux from supported platforms list (Ben Noordhuis)
* unix,win: add f_frsize field to uv_statfs_t (Ben Noordhuis)
* test: fix -Wuninitialized-const-pointer warning (Ben Noordhuis)
* test: fix -Wstringop-overread warning (Ben Noordhuis)
* test: make pty test work under asan (Ben Noordhuis)
* win: readlink support for IO_REPARSE_TAG_LX_SYMLINK (Cody Tapscott)
* unix: fix partial read handling after POLLHUP (Ben Noordhuis)
* unix: factor out common i/o poll code (Ben Noordhuis)
* test: disable udp_reuseport test under qemu (Ben Noordhuis)
* test: disable tcp_reuseport test under qemu (Ben Noordhuis)
* unix,win: check nbufs argument is reasonable (Ben Noordhuis)
* win: refactor to support large statfs blocks (Santiago Gimeno)
* unix: remove sunpro references (Ben Noordhuis)
* idna: fix assert in wtf8_to_utf16 conversion (tobil4sk)
* aix,ibmi: fix test suite build breakage (Ben Noordhuis)
* unix: implement cpu_relax() for riscv64 (Han Gao)
* doc: add setuid warning to uv_exepath (Ben Noordhuis)
* unix: make OpenBSD uv_exepath work (mischief)
* win: fix uv_get_process_title (StefanStojanovic)
* unix,udp: fix -Wgnu-folding-constant warning (Saúl Ibarra Corretgé)
* cmake: add libuvConfigVersion.cmake file (Przemysław Sobala)


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 pkgsrc/devel/libuv/Makefile
cvs rdiff -u -r1.86 -r1.87 pkgsrc/devel/libuv/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/libuv/patches/patch-src_unix_core.c
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/libuv/patches/patch-src_unix_udp.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/Makefile
diff -u pkgsrc/devel/libuv/Makefile:1.88 pkgsrc/devel/libuv/Makefile:1.89
--- pkgsrc/devel/libuv/Makefile:1.88    Fri Sep 19 07:16:35 2025
+++ pkgsrc/devel/libuv/Makefile Wed Feb 11 09:05:25 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.88 2025/09/19 07:16:35 wiz Exp $
+# $NetBSD: Makefile,v 1.89 2026/02/11 09:05:25 adam Exp $
 
-DISTNAME=      libuv-1.51.0
-PKGREVISION=   1
+DISTNAME=      libuv-1.52.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libuv/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/devel/libuv/distinfo
diff -u pkgsrc/devel/libuv/distinfo:1.86 pkgsrc/devel/libuv/distinfo:1.87
--- pkgsrc/devel/libuv/distinfo:1.86    Fri Sep 19 07:06:49 2025
+++ pkgsrc/devel/libuv/distinfo Wed Feb 11 09:05:25 2026
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.86 2025/09/19 07:06:49 mrg Exp $
+$NetBSD: distinfo,v 1.87 2026/02/11 09:05:25 adam Exp $
 
-BLAKE2s (libuv-1.51.0.tar.gz) = 4fb27415211b4d6b0bed33452f9ac29f36b9c90c5d48ddd0a7d16cd3d842139c
-SHA512 (libuv-1.51.0.tar.gz) = cf3ca916fc3a762a194dac86718a5a7fe24f230e34172a48f9b3401ad72fbc1cf21b46ceaba956cdf6783d323e518d40f8632fff965943869819a1c26992a3c1
-Size (libuv-1.51.0.tar.gz) = 1352232 bytes
+BLAKE2s (libuv-1.52.0.tar.gz) = c720b14f7598d4eecd085263153e18ac334c31ad65a92a768290c9f301b4e847
+SHA512 (libuv-1.52.0.tar.gz) = 920727ebcfae39db665e518d4d90abef0ca838efcddca2b0f5ba0effc38f2d7e60df79fa5e7aa94dba8ea6e8e800d498c89ee01b36e46ed0b455b6c284852fe9
+Size (libuv-1.52.0.tar.gz) = 1360877 bytes
 SHA1 (patch-autogen.sh) = 99790076b91d579eb55506749e4803ab7cdfaa4c
-SHA1 (patch-src_unix_core.c) = 1b1bb19b185f87aeb54aca3dcfedb1cd0978c384
+SHA1 (patch-src_unix_core.c) = f6dbe539369c01e9cb870be8063d8b199393883d
 SHA1 (patch-src_unix_fs.c) = 510693bb63cac7bf25e04c64e2d231de80b149d1
 SHA1 (patch-src_unix_netbsd.c) = 071a2a853f9a73dc72e24d63316aa21b28669469
 SHA1 (patch-src_unix_tty.c) = 157be1b1272dc38b3605a9822316e6cb2ddb6f22
-SHA1 (patch-src_unix_udp.c) = 9f03175bcc9c4e3097033309d9dd935ff5f10b02
+SHA1 (patch-src_unix_udp.c) = 88e4c08c9413095dfa0132febbc99be2e299ee8f
 SHA1 (patch-test_test-fs.c) = 8b369d45f3f88c793eeeb6fd8d8177bba14fd0ac

Index: pkgsrc/devel/libuv/patches/patch-src_unix_core.c
diff -u pkgsrc/devel/libuv/patches/patch-src_unix_core.c:1.4 pkgsrc/devel/libuv/patches/patch-src_unix_core.c:1.5
--- pkgsrc/devel/libuv/patches/patch-src_unix_core.c:1.4        Fri Sep 19 07:06:49 2025
+++ pkgsrc/devel/libuv/patches/patch-src_unix_core.c    Wed Feb 11 09:05:25 2026
@@ -1,15 +1,13 @@
-$NetBSD: patch-src_unix_core.c,v 1.4 2025/09/19 07:06:49 mrg Exp $
+$NetBSD: patch-src_unix_core.c,v 1.5 2026/02/11 09:05:25 adam Exp $
 
 Apply MacPorts patch-libuv-unix-core-close-nocancel.diff for
 - older gcc versions to not error on pragmas
 - 32bit code to link correctly
 - Tiger to work around not having a non-cancellable close function
 
-Also fix NetBSD cpuset handling.
-
---- src/unix/core.c.orig       2025-04-25 02:50:27.000000000 -0700
-+++ src/unix/core.c    2025-09-19 00:00:12.596197154 -0700
-@@ -597,18 +597,31 @@
+--- src/unix/core.c.orig       2026-02-11 01:57:16.000000000 +0000
++++ src/unix/core.c
+@@ -597,18 +597,31 @@ int uv__accept(int sockfd) {
   * will unwind the thread when it's in the cancel state. Work around that
   * by making the system call directly. Musl libc is unaffected.
   */
@@ -48,14 +46,3 @@ Also fix NetBSD cpuset handling.
  #elif defined(__linux__) && defined(__SANITIZE_THREAD__) && defined(__clang__)
    long rc;
    __sanitizer_syscall_pre_close(fd);
-@@ -1998,8 +2011,8 @@
- #elif defined(__NetBSD__)
-   cpuset_t* set = cpuset_create();
-   if (set != NULL) {
--    if (0 == sched_getaffinity_np(getpid(), sizeof(set), &set))
--      rc = uv__cpu_count(&set);
-+    if (0 == sched_getaffinity_np(getpid(), cpuset_size(set), set))
-+      rc = uv__cpu_count(set);
-     cpuset_destroy(set);
-   }
- #elif defined(__APPLE__)

Index: pkgsrc/devel/libuv/patches/patch-src_unix_udp.c
diff -u pkgsrc/devel/libuv/patches/patch-src_unix_udp.c:1.6 pkgsrc/devel/libuv/patches/patch-src_unix_udp.c:1.7
--- pkgsrc/devel/libuv/patches/patch-src_unix_udp.c:1.6 Mon Mar  7 18:31:30 2022
+++ pkgsrc/devel/libuv/patches/patch-src_unix_udp.c     Wed Feb 11 09:05:25 2026
@@ -1,25 +1,25 @@
-$NetBSD: patch-src_unix_udp.c,v 1.6 2022/03/07 18:31:30 adam Exp $
+$NetBSD: patch-src_unix_udp.c,v 1.7 2026/02/11 09:05:25 adam Exp $
 
 Apply MacPorts patch-libuv-legacy.diff for pre-10.7 platforms.
 
---- src/unix/udp.c.orig        2022-03-07 16:39:08.000000000 +0000
+--- src/unix/udp.c.orig        2026-02-11 01:57:16.000000000 +0000
 +++ src/unix/udp.c
-@@ -929,7 +929,8 @@ static int uv__udp_set_membership6(uv_ud
+@@ -839,7 +839,8 @@ static int uv__udp_set_membership6(uv_ud
      !defined(__ANDROID__) &&                                        \
      !defined(__DragonFly__) &&                                      \
-     !defined(__QNX__) &&                                            \
--    !defined(__GNU__)
-+    !defined(__GNU__) &&                                            \
+     !defined(__GNU__) &&                                            \
+-    !defined(QNX_IOPKT)
++    !defined(QNX_IOPKT) && \
 +    (!defined(__APPLE__) || MAC_OS_X_VERSION_MAX_ALLOWED >= 1070)
  static int uv__udp_set_source_membership4(uv_udp_t* handle,
                                            const struct sockaddr_in* multicast_addr,
                                            const char* interface_addr,
-@@ -1122,7 +1123,8 @@ int uv_udp_set_source_membership(uv_udp_
+@@ -1051,7 +1052,8 @@ int uv_udp_set_source_membership(uv_udp_
      !defined(__ANDROID__) &&                                        \
      !defined(__DragonFly__) &&                                      \
-     !defined(__QNX__) &&                                            \
--    !defined(__GNU__)
-+    !defined(__GNU__) &&                                            \
+     !defined(__GNU__) &&                                          \
+-    !defined(QNX_IOPKT)
++    !defined(QNX_IOPKT) && \
 +    (!defined(__APPLE__) || MAC_OS_X_VERSION_MAX_ALLOWED >= 1070)
    int err;
    union uv__sockaddr mcast_addr;



Home | Main Index | Thread Index | Old Index