Here's an update to libuv 1.24.1, needed for newer versions of
moarvm/nqp/rakudo. devel/cmake needs a small adjustment to build with
this (attached), all other dependent ports are fine. Tested on amd64,
i386, arm, aarch64, powerpc, sparc64.
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libuv/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile 10 Aug 2018 10:19:18 -0000 1.8
+++ Makefile 23 Dec 2018 20:51:54 -0000
@@ -4,13 +4,12 @@
COMMENT = multi-platform library for asynchronous I/O
-REVISION = 1
-VER = 1.19.1
+VER = 1.24.1
DISTNAME = libuv-v${VER}
PKGNAME = libuv-${VER}
CATEGORIES = devel
-SHARED_LIBS = uv 1.0 # 1.0
+SHARED_LIBS = uv 2.0 # 1.0
HOMEPAGE = http://libuv.org/
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/libuv/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 11 Feb 2018 18:31:35 -0000 1.2
+++ distinfo 23 Dec 2018 20:51:54 -0000
@@ -1,2 +1,2 @@
-SHA256 (libuv-v1.19.1.tar.gz) = Mu2ZRDZOzyXkt1In5e5XCREEI7qApcfX5RI6uJMA6Hg=
-SIZE (libuv-v1.19.1.tar.gz) = 1166759
+SHA256 (libuv-v1.24.1.tar.gz) = PdPut7ACFLAibaVbOImNP5SB0M90TUL6+Cdx4PGfKwo=
+SIZE (libuv-v1.24.1.tar.gz) = 1195550
Index: patches/patch-src_unix_tcp_c
===================================================================
RCS file: patches/patch-src_unix_tcp_c
diff -N patches/patch-src_unix_tcp_c
--- patches/patch-src_unix_tcp_c 11 Feb 2018 18:31:35 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,32 +0,0 @@
-$OpenBSD: patch-src_unix_tcp_c,v 1.2 2018/02/11 18:31:35 pascal Exp $
-
-- we don't support setting IPV6_V6ONLY to anything but 1
- (no support for IPv4-mapped IPv6 addresses)
-
-Index: src/unix/tcp.c
---- src/unix/tcp.c.orig
-+++ src/unix/tcp.c
-@@ -168,23 +168,6 @@ int uv__tcp_bind(uv_tcp_t* tcp,
- if (setsockopt(tcp->io_watcher.fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)))
- return -errno;
-
--#ifdef IPV6_V6ONLY
-- if (addr->sa_family == AF_INET6) {
-- on = (flags & UV_TCP_IPV6ONLY) != 0;
-- if (setsockopt(tcp->io_watcher.fd,
-- IPPROTO_IPV6,
-- IPV6_V6ONLY,
-- &on,
-- sizeof on) == -1) {
--#if defined(__MVS__)
-- if (errno == EOPNOTSUPP)
-- return -EINVAL;
--
No comments:
Post a Comment