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*diff -r1.55 -r1.56 pkgsrc/devel/libuv/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.55 2019/09/10 11:21:08 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.56 2019/10/21 09:42:06 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= libuv-1.32.0 | 3 | DISTNAME= libuv-1.33.1 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=libuv/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=libuv/} | |
6 | GITHUB_TAG= v${PKGVERSION_NOREV} | 6 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
7 | 7 | |||
8 | MAINTAINER= agc@pkgsrc.org | 8 | MAINTAINER= agc@pkgsrc.org | |
9 | HOMEPAGE= https://github.com/libuv/libuv | 9 | HOMEPAGE= https://github.com/libuv/libuv | |
10 | COMMENT= Cross-platform asychronous I/O | 10 | COMMENT= Cross-platform asychronous I/O | |
11 | LICENSE= mit AND 2-clause-bsd AND isc AND modified-bsd | 11 | LICENSE= mit AND 2-clause-bsd AND isc AND modified-bsd | |
12 | 12 | |||
13 | USE_LIBTOOL= yes | 13 | USE_LIBTOOL= yes | |
14 | USE_TOOLS+= autoconf automake pkg-config | 14 | USE_TOOLS+= autoconf automake pkg-config | |
15 | USE_FEATURES+= strnlen | 15 | USE_FEATURES+= strnlen | |
16 | GNU_CONFIGURE= yes | 16 | GNU_CONFIGURE= yes |
@@ -1,13 +1,12 @@ | @@ -1,13 +1,12 @@ | |||
1 | $NetBSD: distinfo,v 1.50 2019/09/10 11:21:08 adam Exp $ | 1 | $NetBSD: distinfo,v 1.51 2019/10/21 09:42:06 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (libuv-1.32.0.tar.gz) = 3166a82d73f8bb529badd7a9bb52ef1913b147f5 | 3 | SHA1 (libuv-1.33.1.tar.gz) = 1855cc5f323902939d2c4aa066199c8df9b69992 | |
4 | RMD160 (libuv-1.32.0.tar.gz) = 8bb1e021bdca274622f6003f92466fc8b2d061e1 | 4 | RMD160 (libuv-1.33.1.tar.gz) = 78295a082df4cab98e06e9a6d17f2e43bd7f9f85 | |
5 | SHA512 (libuv-1.32.0.tar.gz) = 3e043a56fd09fdaf3c89f81b3dff70a385ba8a59ec065447c95199a0e45da323b8545fb13b50139c557541357450103a88297fdc921832de661f3e2700173b96 | 5 | SHA512 (libuv-1.33.1.tar.gz) = 0200aae2d38c26f537658955479cbc54fb69d5d8cbbccf3016cea319b2c46b1f311ca7a8fc289f14532acbbf2905cf96b17353b8b92bf09802424c372701d1d5 | |
6 | Size (libuv-1.32.0.tar.gz) = 1242643 bytes | 6 | Size (libuv-1.33.1.tar.gz) = 1251944 bytes | |
7 | SHA1 (patch-autogen.sh) = a5f48189bfb17624c545a80626ea311b7755d232 | 7 | SHA1 (patch-autogen.sh) = a5f48189bfb17624c545a80626ea311b7755d232 | |
8 | SHA1 (patch-configure.ac) = 06500ab342d1af50f03bc92f2cb4a2ec28db84cc | 8 | SHA1 (patch-configure.ac) = 06500ab342d1af50f03bc92f2cb4a2ec28db84cc | |
9 | SHA1 (patch-src_unix_fs.c) = 97b7ec45ecd8a96a97680a8fde9f0261e3508b5d | 9 | SHA1 (patch-src_unix_fs.c) = 15b464be3e31c0934732c537c4163b5b96665f63 | |
10 | SHA1 (patch-src_unix_netbsd.c) = 4bea4eda43c4256b5281bc798a46d29690917d27 | 10 | SHA1 (patch-src_unix_netbsd.c) = 4bea4eda43c4256b5281bc798a46d29690917d27 | |
11 | SHA1 (patch-src_unix_thread.c) = 7a9a5d19025bb7bb8968a9f5c5e0c67f37021b89 | 11 | SHA1 (patch-src_unix_thread.c) = 7a9a5d19025bb7bb8968a9f5c5e0c67f37021b89 | |
12 | SHA1 (patch-src_unix_udp.c) = 98ed0072c7a2eceb67c05560757c9103bee658e2 | |||
13 | SHA1 (patch-test_test-fs.c) = 7a6eb5f895e44067ebdd045bba86105faa3cefe0 | 12 | SHA1 (patch-test_test-fs.c) = 7a6eb5f895e44067ebdd045bba86105faa3cefe0 |
@@ -1,52 +1,34 @@ | @@ -1,52 +1,34 @@ | |||
1 | $NetBSD: patch-src_unix_fs.c,v 1.3 2019/08/22 10:28:25 wiz Exp $ | 1 | $NetBSD: patch-src_unix_fs.c,v 1.4 2019/10/21 09:42:06 adam Exp $ | |
2 | 2 | |||
3 | * Fix portability on NetBSD. | 3 | Fix portability on NetBSD. | |
4 | https://github.com/libuv/libuv/pull/2436 | 4 | https://github.com/libuv/libuv/pull/2436 | |
5 | 5 | |||
6 | --- src/unix/fs.c.orig 2019-08-09 14:57:12.000000000 +0000 | 6 | --- src/unix/fs.c.orig 2019-10-19 21:32:27.000000000 +0000 | |
7 | +++ src/unix/fs.c | 7 | +++ src/unix/fs.c | |
8 | @@ -537,7 +537,7 @@ static int uv__fs_closedir(uv_fs_t* req) | 8 | @@ -1138,7 +1138,7 @@ static void uv__to_stat(struct stat* src | |
9 | ||||
10 | static int uv__fs_statfs(uv_fs_t* req) { | |||
11 | uv_statfs_t* stat_fs; | |||
12 | -#if defined(__sun) || defined(__MVS__) | |||
13 | +#if defined(__sun) || defined(__MVS__) || defined(__NetBSD__) | |||
14 | struct statvfs buf; | |||
15 | ||||
16 | if (0 != statvfs(req->path, &buf)) | |||
17 | @@ -554,7 +554,7 @@ static int uv__fs_statfs(uv_fs_t* req) { | |||
18 | return -1; | |||
19 | } | |||
20 | ||||
21 | -#if defined(__sun) || defined(__MVS__) | |||
22 | +#if defined(__sun) || defined(__MVS__) || defined(__NetBSD__) | |||
23 | stat_fs->f_type = 0; /* f_type is not supported. */ | |||
24 | #else | |||
25 | stat_fs->f_type = buf.f_type; | |||
26 | @@ -1147,7 +1147,7 @@ static void uv__to_stat(struct stat* src | |||
27 | dst->st_blksize = src->st_blksize; | 9 | dst->st_blksize = src->st_blksize; | |
28 | dst->st_blocks = src->st_blocks; | 10 | dst->st_blocks = src->st_blocks; | |
29 | 11 | |||
30 | -#if defined(__APPLE__) | 12 | -#if defined(__APPLE__) | |
31 | +#if defined(__APPLE__) || defined(__NetBSD__) | 13 | +#if defined(__APPLE__) || defined(__NetBSD__) | |
32 | dst->st_atim.tv_sec = src->st_atimespec.tv_sec; | 14 | dst->st_atim.tv_sec = src->st_atimespec.tv_sec; | |
33 | dst->st_atim.tv_nsec = src->st_atimespec.tv_nsec; | 15 | dst->st_atim.tv_nsec = src->st_atimespec.tv_nsec; | |
34 | dst->st_mtim.tv_sec = src->st_mtimespec.tv_sec; | 16 | dst->st_mtim.tv_sec = src->st_mtimespec.tv_sec; | |
35 | @@ -1173,7 +1173,6 @@ static void uv__to_stat(struct stat* src | 17 | @@ -1164,7 +1164,6 @@ static void uv__to_stat(struct stat* src | |
36 | defined(__DragonFly__) || \ | 18 | defined(__DragonFly__) || \ | |
37 | defined(__FreeBSD__) || \ | 19 | defined(__FreeBSD__) || \ | |
38 | defined(__OpenBSD__) || \ | 20 | defined(__OpenBSD__) || \ | |
39 | - defined(__NetBSD__) || \ | 21 | - defined(__NetBSD__) || \ | |
40 | defined(_GNU_SOURCE) || \ | 22 | defined(_GNU_SOURCE) || \ | |
41 | defined(_BSD_SOURCE) || \ | 23 | defined(_BSD_SOURCE) || \ | |
42 | defined(_SVID_SOURCE) || \ | 24 | defined(_SVID_SOURCE) || \ | |
43 | @@ -1185,8 +1184,7 @@ static void uv__to_stat(struct stat* src | 25 | @@ -1176,8 +1175,7 @@ static void uv__to_stat(struct stat* src | |
44 | dst->st_mtim.tv_nsec = src->st_mtim.tv_nsec; | 26 | dst->st_mtim.tv_nsec = src->st_mtim.tv_nsec; | |
45 | dst->st_ctim.tv_sec = src->st_ctim.tv_sec; | 27 | dst->st_ctim.tv_sec = src->st_ctim.tv_sec; | |
46 | dst->st_ctim.tv_nsec = src->st_ctim.tv_nsec; | 28 | dst->st_ctim.tv_nsec = src->st_ctim.tv_nsec; | |
47 | -# if defined(__FreeBSD__) || \ | 29 | -# if defined(__FreeBSD__) || \ | |
48 | - defined(__NetBSD__) | 30 | - defined(__NetBSD__) | |
49 | +# if defined(__FreeBSD__) | 31 | +# if defined(__FreeBSD__) | |
50 | dst->st_birthtim.tv_sec = src->st_birthtim.tv_sec; | 32 | dst->st_birthtim.tv_sec = src->st_birthtim.tv_sec; | |
51 | dst->st_birthtim.tv_nsec = src->st_birthtim.tv_nsec; | 33 | dst->st_birthtim.tv_nsec = src->st_birthtim.tv_nsec; | |
52 | dst->st_flags = src->st_flags; | 34 | dst->st_flags = src->st_flags; |