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: Mon Sep 30 17:05:46 UTC 2024
Modified Files:
pkgsrc/devel/libuv: Makefile distinfo
pkgsrc/devel/libuv/patches: patch-src_unix_core.c patch-src_unix_fs.c
Log Message:
libuv: updated to 1.49.0
Version 1.49.0 (Stable)
Notable Changes
linux: disable SQPOLL io_uring by default
unix: reinstate preadv/pwritev fallback code
win,fs: use the new Windows fast stat API
Important Bugs Fixed
win,pipe: fix race with concurrent readers
win,signal: fix data race dispatching SIGWINCH
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 pkgsrc/devel/libuv/Makefile
cvs rdiff -u -r1.80 -r1.81 pkgsrc/devel/libuv/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/libuv/patches/patch-src_unix_core.c
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/libuv/patches/patch-src_unix_fs.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.82 pkgsrc/devel/libuv/Makefile:1.83
--- pkgsrc/devel/libuv/Makefile:1.82 Thu Feb 8 06:18:00 2024
+++ pkgsrc/devel/libuv/Makefile Mon Sep 30 17:05:46 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.82 2024/02/08 06:18:00 adam Exp $
+# $NetBSD: Makefile,v 1.83 2024/09/30 17:05:46 adam Exp $
-DISTNAME= libuv-1.48.0
+DISTNAME= libuv-1.49.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.80 pkgsrc/devel/libuv/distinfo:1.81
--- pkgsrc/devel/libuv/distinfo:1.80 Thu Feb 8 06:18:00 2024
+++ pkgsrc/devel/libuv/distinfo Mon Sep 30 17:05:46 2024
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.80 2024/02/08 06:18:00 adam Exp $
+$NetBSD: distinfo,v 1.81 2024/09/30 17:05:46 adam Exp $
-BLAKE2s (libuv-1.48.0.tar.gz) = a3b7815237843e58b4ff1552e74d078f15be4fac9983cc46187db91b70d88ae7
-SHA512 (libuv-1.48.0.tar.gz) = 81a9580bc51c22385de4dab748968477b5e552aa25f901c376e3ffac624e0e05362b48239222e826cad900329f9a7cbdb080794fb4ada9ca14196efc2969cc57
-Size (libuv-1.48.0.tar.gz) = 1322626 bytes
+BLAKE2s (libuv-1.49.0.tar.gz) = 6dd2c09b861873abb9f9e08947b0e554eb9e8e2832df8bfefbec4b094a00c324
+SHA512 (libuv-1.49.0.tar.gz) = 202a4f8b950ddf38db0d9f645d27c257aa4d65f9c170b9a32f7ee935a60d0cbcb2987561769c04bb42628184c22515df5b992b3ae1146f45632d51782b959a62
+Size (libuv-1.49.0.tar.gz) = 1339314 bytes
SHA1 (patch-autogen.sh) = 99790076b91d579eb55506749e4803ab7cdfaa4c
-SHA1 (patch-src_unix_core.c) = fb2d24e7d842f6739f14c191ee30c71f56113081
+SHA1 (patch-src_unix_core.c) = 2d8b2402db910752fff36043ee1aa9f6f2bcdd16
SHA1 (patch-src_unix_darwin-proctitle.c) = e726550cdd884a1fa73f6ea79592df643f954e97
-SHA1 (patch-src_unix_fs.c) = db98c4c44ee65131db535c97da59ecc3c95f2732
+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
Index: pkgsrc/devel/libuv/patches/patch-src_unix_core.c
diff -u pkgsrc/devel/libuv/patches/patch-src_unix_core.c:1.1 pkgsrc/devel/libuv/patches/patch-src_unix_core.c:1.2
--- pkgsrc/devel/libuv/patches/patch-src_unix_core.c:1.1 Fri Jan 28 21:13:10 2022
+++ pkgsrc/devel/libuv/patches/patch-src_unix_core.c Mon Sep 30 17:05:46 2024
@@ -1,13 +1,15 @@
-$NetBSD: patch-src_unix_core.c,v 1.1 2022/01/28 21:13:10 schmonz Exp $
+$NetBSD: patch-src_unix_core.c,v 1.2 2024/09/30 17:05:46 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
---- src/unix/core.c.orig 2022-01-04 14:18:00.000000000 +0000
+Fix build on NetBSD: https://github.com/libuv/libuv/issues/4552
+
+--- src/unix/core.c.orig 2024-09-25 08:17:20.000000000 +0000
+++ src/unix/core.c
-@@ -531,18 +531,31 @@ int uv__accept(int sockfd) {
+@@ -595,18 +595,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.
*/
@@ -46,3 +48,19 @@ Apply MacPorts patch-libuv-unix-core-clo
#elif defined(__linux__) && defined(__SANITIZE_THREAD__) && defined(__clang__)
long rc;
__sanitizer_syscall_pre_close(fd);
+@@ -1882,13 +1895,13 @@ int uv__search_path(const char* prog, ch
+ #if defined(__linux__) || defined (__FreeBSD__)
+ # define uv__cpu_count(cpuset) CPU_COUNT(cpuset)
+ #elif defined(__NetBSD__)
+-static int uv__cpu_count(cpuset_t *cpuset) {
++static int uv__cpu_count(cpuset_t *set) {
+ int rc;
+ cpuid_t i;
+
+ rc = 0;
+ for (i = 0;; i++) {
+- int r = cpuset_isset(cpu, set);
++ int r = cpuset_isset(i, set);
+ if (r < 0)
+ break;
+ if (r)
Index: pkgsrc/devel/libuv/patches/patch-src_unix_fs.c
diff -u pkgsrc/devel/libuv/patches/patch-src_unix_fs.c:1.7 pkgsrc/devel/libuv/patches/patch-src_unix_fs.c:1.8
--- pkgsrc/devel/libuv/patches/patch-src_unix_fs.c:1.7 Fri May 19 20:35:47 2023
+++ pkgsrc/devel/libuv/patches/patch-src_unix_fs.c Mon Sep 30 17:05:46 2024
@@ -1,20 +1,20 @@
-$NetBSD: patch-src_unix_fs.c,v 1.7 2023/05/19 20:35:47 adam Exp $
+$NetBSD: patch-src_unix_fs.c,v 1.8 2024/09/30 17:05:46 adam Exp $
Fix portability on NetBSD.
Apply MacPorts patch-libuv-legacy.diff for pre-10.7 platforms.
---- src/unix/fs.c.orig 2023-05-19 11:21:01.000000000 +0000
+--- src/unix/fs.c.orig 2024-09-25 08:17:20.000000000 +0000
+++ src/unix/fs.c
-@@ -1053,7 +1053,7 @@ static ssize_t uv__fs_sendfile(uv_fs_t*
-
+@@ -1074,7 +1074,7 @@ static ssize_t uv__fs_sendfile(uv_fs_t*
return -1;
}
--#elif defined(__APPLE__) || defined(__DragonFly__) || defined(__FreeBSD__)
-+#elif (defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1050) || defined(__DragonFly__) || defined(__FreeBSD__)
+ /* sendfile() on iOS(arm64) will throw SIGSYS signal cause crash. */
+-#elif (defined(__APPLE__) && !TARGET_OS_IPHONE) \
++#elif (defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1050 && !TARGET_OS_IPHONE) \
+ || defined(__DragonFly__) \
+ || defined(__FreeBSD__)
{
- off_t len;
- ssize_t r;
-@@ -1431,7 +1431,7 @@ static void uv__to_stat(struct stat* src
+@@ -1453,7 +1453,7 @@ static void uv__to_stat(struct stat* src
dst->st_blksize = src->st_blksize;
dst->st_blocks = src->st_blocks;
@@ -23,7 +23,7 @@ Apply MacPorts patch-libuv-legacy.diff f
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;
-@@ -1458,7 +1458,6 @@ static void uv__to_stat(struct stat* src
+@@ -1480,7 +1480,6 @@ static void uv__to_stat(struct stat* src
defined(__DragonFly__) || \
defined(__FreeBSD__) || \
defined(__OpenBSD__) || \
@@ -31,7 +31,7 @@ Apply MacPorts patch-libuv-legacy.diff f
defined(_GNU_SOURCE) || \
defined(_BSD_SOURCE) || \
defined(_SVID_SOURCE) || \
-@@ -1470,8 +1469,7 @@ static void uv__to_stat(struct stat* src
+@@ -1492,8 +1491,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;
Home |
Main Index |
Thread Index |
Old Index