diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-21 12:05:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-21 12:05:28 +0100 |
commit | 490ef2c2dc8b4e808f37add1adee21a754efd9a9 (patch) | |
tree | e235cdf15550b3d2f644b6fc4a8aa726971416f5 /dev-libs/libuv | |
parent | da7ae1dd1fccb6b3c0e4763ab983ad96d57bf463 (diff) |
gentoo auto-resync : 21:04:2024 - 12:05:28
Diffstat (limited to 'dev-libs/libuv')
-rw-r--r-- | dev-libs/libuv/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/libuv/files/libuv-1.47.0-darwin17.patch | 26 | ||||
-rw-r--r-- | dev-libs/libuv/files/libuv-1.47.0-hppa-kernel.patch | 32 | ||||
-rw-r--r-- | dev-libs/libuv/files/libuv-1.47.0-ipv6-tests.patch | 54 | ||||
-rw-r--r-- | dev-libs/libuv/libuv-1.47.0-r1.ebuild | 59 |
5 files changed, 0 insertions, 176 deletions
diff --git a/dev-libs/libuv/Manifest b/dev-libs/libuv/Manifest index b78943318cbf..016d5cb6a216 100644 --- a/dev-libs/libuv/Manifest +++ b/dev-libs/libuv/Manifest @@ -1,12 +1,7 @@ AUX libuv-1.41.0-darwin.patch 1747 BLAKE2B a5a2d3ac70468515e395f69c9a80748d6db261f8ae7c4979fc3965d32d7d8acd6c6edad4a4e9afc449e36df0f7544ecd1823bceba17ba456f21b221c78341243 SHA512 23be80dedc692cae3dc67d66834c937a890f781a9f73c68ebc3181130a5f33f981f822ef026464f77aa134701505054cbf76cf852429d0b3194d6a48773a0b8d -AUX libuv-1.47.0-darwin17.patch 1188 BLAKE2B d71cc7cac6f1736f1c11fa517a84730ee03f894c2645d4c3646df7604938761fbd4de3ba702bee2d4c8d0ad1d5cda9da96ce23b7a6188a0129ce7e854e2af749 SHA512 639dcd329bd8a2793295bb7f6ce546580cb7d845730037e8da194916eee9cc9cb1749fde3f6862c967694de6822d233fef4688137d56aa1b8cfe31b947e999cc -AUX libuv-1.47.0-hppa-kernel.patch 1269 BLAKE2B 23973096b61202528037e4400c9da22078cbd799ac3df1c20891dfa9fc82f6a6e39ccabe272f91a26bf3da3b97c8556ea5ca45c5010c345d812bca7d60bef680 SHA512 de791da1040908476adf9ad13991cd88ae42b83ff2002a6375ce4c383d43dea9eeb09d296d43930ae40024008d6ecae18ad1601e0f17087299a161f2a2b89abc -AUX libuv-1.47.0-ipv6-tests.patch 1669 BLAKE2B 5504b335f8342ea8ad691d8c462ed163642de95547aebabc50ccf71a511f707e4aa0e3f0194b209c1640c0829d224a707d732aff34cb6578599b2f18dfdb636c SHA512 1b2e38b0f30bd59c3897da3cf32a3379ca26a1cb2af06705fbe18fe79001baa5148d16e351a13dc0c09aba9897057f9a41aca88bbfc2d366eefcb4b310a468a8 AUX libuv-1.48.0-test-thread-priority-portage.patch 655 BLAKE2B 3e972ab3281fcccf48665becc7f35fc0ab5f1d5444637bb45865c2b42840e95762866dfdc0fc20b1364d4401e7e80b44ea0821e47ab9fcdb4c0ee7fe438ca7cb SHA512 efbde3ce12ff265060e87b166c72954e234bdb257e1f75d0e66314c00e28ec035c784a5ff655dab1f5ee4f9a3c8e7ce605335fc00db764c3858b86a28e353804 -DIST libuv-1.47.0.tar.gz 1316016 BLAKE2B 6c530f8625366a9bf3f99ac4eb6b3bf3d4f6a05f98848e08cdab884934d79862cf8e79dd2d506ec734d701faab517eba2215063dce4b4216add5cfd6bfebd82e SHA512 3d0e76c4e29c5de14fddda07409f8db30dc64261d1c0bdfce7f70eb8f5ac911707fe662e81c4f117e4068cb0728158fc2b8255f8aa497c0f688e46c7fb93a5b3 DIST libuv-1.48.0.tar.gz 1314877 BLAKE2B 7595797ab732109516ce280fa2efa3474e82e78890087408c7f5b1457ce8f44e53878581bb8d473795e298d7390dd8a269dd2e8970e10b50a2c0bbe1cce187cc SHA512 7ae3a4c02f654a26056db1541e52ccc4c54aaea39c33585f0cf6949af997d0a0a29f30a294c8df6e92f6f6af7ce64c2766b1a2cc67f342e3e139cd55b7326c94 DIST libuv-1.48.0.tar.gz.sig 833 BLAKE2B f0982f7723fa81afe3fe668fc4497fb182a6093f38b185aba4f7359a3248062e7953acaba3f7fd739c9ff5b590664e4b7b81ee138442ffccd46c989c0a10345b SHA512 3a6441bb250badb7bb54a102dd7a1cf47ee4e0ed93ff0369c5b6a4b1e5440e613d85530f19c9ebdc586a97dfe1e06af09e2f90c13448e875dbaee1c703efa955 -EBUILD libuv-1.47.0-r1.ebuild 1280 BLAKE2B 3b746be0855aeb9e47439ae4fc9ca9085e9555ea0047a44082c7bbda3dc5a0d29a2e10b7a50b4757f19d2f7303995ae361004c484e6a66ed6df4b43ea9bd74fe SHA512 6b317c2692a61bb66b0d6acf38a5f207388ac7e16e266071e2c7ed852acb5b54590d26e6bdc4df9fd1b76abf1d397cd0dcf025743393134fa129ccab19080ff6 EBUILD libuv-1.48.0.ebuild 1496 BLAKE2B bcf465934c4e8dee977f438cf4ed6dcd89cb19763f744f0618a2ccf9106c8fbb04b76e79209af6f4a1050677a54ee2ea4bf374916446c97faa6a0a2e001b0789 SHA512 7241e58badf07af2b65e7f2d8c3c211bdaae8e827f918bcc8554558588ce5994740924e0da0512a32c13833c740e7830ef59df0263095873283e3b2a0737cd46 EBUILD libuv-9999.ebuild 1504 BLAKE2B b7c9fa73b817d274d81c22386e32d77f7ac110a313d7160ba8dfd96fb51f9cbf88b14027e055f23a651ce2825289a4aa36a026f782610a0881fb0dc308e55178 SHA512 c3311bc752c533021f23d62f490fddc623193088c21d166b91901bd5fd1a3da31d379be850daad7fc427634b715fc86ae837a41ac9e9aa273ebd67ccf6eb1153 MISC metadata.xml 1426 BLAKE2B 79a040706bd2e88560fdf7cdd75226c51384f1b27f8f86798f3a694d1d4b02ce309edef4f1921f73e498533e37deff9051ebdaa6ae565defabe9d4546aa33bd4 SHA512 a6fa2c3217de06d7d324b37b00e0cb19e8d0b192cd10736d32f5d459c701c14a6aa296d7d4d292f7c56120953423df0068f3f71495941295c97e86c283b084d3 diff --git a/dev-libs/libuv/files/libuv-1.47.0-darwin17.patch b/dev-libs/libuv/files/libuv-1.47.0-darwin17.patch deleted file mode 100644 index 3fa90de83288..000000000000 --- a/dev-libs/libuv/files/libuv-1.47.0-darwin17.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 4785ad6337aac8b78224291f0848f25fc8cb41c9 Mon Sep 17 00:00:00 2001 -From: Sergey Fedorov <vital.had@gmail.com> -Date: Sat, 18 Nov 2023 16:57:40 +0800 -Subject: [PATCH] unix: unbreak macOS < 10.14 (#4230) - -From fc70430b09c49032d41ae97db26da10e20941e75 Mon Sep 17 00:00:00 2001 -From: Bo Anderson <mail@boanderson.me> -Date: Fri, 24 Nov 2023 10:17:52 +0000 -Subject: [PATCH] unix: correct pwritev conditional (#4233) - - -diff --git a/src/unix/fs.c b/src/unix/fs.c -index 891306daedc..4de0643a6c3 100644 ---- a/src/unix/fs.c -+++ b/src/unix/fs.c -@@ -84,7 +84,9 @@ - - #if defined(__CYGWIN__) || \ - (defined(__HAIKU__) && B_HAIKU_VERSION < B_HAIKU_VERSION_1_PRE_BETA_5) || \ -- (defined(__sun) && !defined(__illumos__)) -+ (defined(__sun) && !defined(__illumos__)) || \ -+ (defined(__APPLE__) && !TARGET_OS_IPHONE && \ -+ MAC_OS_X_VERSION_MIN_REQUIRED < 110000) - #define preadv(fd, bufs, nbufs, off) \ - pread(fd, (bufs)->iov_base, (bufs)->iov_len, off) - #define pwritev(fd, bufs, nbufs, off) \ diff --git a/dev-libs/libuv/files/libuv-1.47.0-hppa-kernel.patch b/dev-libs/libuv/files/libuv-1.47.0-hppa-kernel.patch deleted file mode 100644 index 1871ae221395..000000000000 --- a/dev-libs/libuv/files/libuv-1.47.0-hppa-kernel.patch +++ /dev/null @@ -1,32 +0,0 @@ -https://github.com/libuv/libuv/commit/f1444293652cf5478a67b9305271d73ad6d36232 - -From f1444293652cf5478a67b9305271d73ad6d36232 Mon Sep 17 00:00:00 2001 -From: matoro <12038583+matoro@users.noreply.github.com> -Date: Wed, 15 Nov 2023 17:57:06 -0500 -Subject: [PATCH] linux: disable io_uring on hppa below kernel 6.1.51 (#4224) - -First kernel with support is 6.1, was only fully functional from .51 -onwards: https://lore.kernel.org/all/cb912694-b1fe-dbb0-4d8c-d608f3526905@gmx.de/ - -Co-authored-by: matoro <matoro@users.noreply.github.com> ---- a/src/unix/linux.c -+++ b/src/unix/linux.c -@@ -487,8 +487,16 @@ static int uv__use_io_uring(void) { - use = atomic_load_explicit(&use_io_uring, memory_order_relaxed); - - if (use == 0) { -+ use = uv__kernel_version() >= -+#if defined(__hppa__) -+ /* io_uring first supported on parisc in 6.1, functional in .51 */ -+ /* https://lore.kernel.org/all/cb912694-b1fe-dbb0-4d8c-d608f3526905@gmx.de/ */ -+ /* 6.1.51 */ 0x060133 -+#else - /* Older kernels have a bug where the sqpoll thread uses 100% CPU. */ -- use = uv__kernel_version() >= /* 5.10.186 */ 0x050ABA ? 1 : -1; -+ /* 5.10.186 */ 0x050ABA -+#endif -+ ? 1 : -1; - - /* But users can still enable it if they so desire. */ - val = getenv("UV_USE_IO_URING"); - diff --git a/dev-libs/libuv/files/libuv-1.47.0-ipv6-tests.patch b/dev-libs/libuv/files/libuv-1.47.0-ipv6-tests.patch deleted file mode 100644 index 20176dc7aba0..000000000000 --- a/dev-libs/libuv/files/libuv-1.47.0-ipv6-tests.patch +++ /dev/null @@ -1,54 +0,0 @@ -https://github.com/libuv/libuv/issues/4211 -https://github.com/libuv/libuv/pull/4220 -https://github.com/libuv/libuv/commit/54d8364c2406758b572621af381f1d83e01ae46c - -From 54d8364c2406758b572621af381f1d83e01ae46c Mon Sep 17 00:00:00 2001 -From: Ben Noordhuis <info@bnoordhuis.nl> -Date: Tue, 14 Nov 2023 22:09:30 +0100 -Subject: [PATCH] test: check if ipv6 link-local traffic is routable (#4220) - -Fixes: https://github.com/libuv/libuv/issues/4211 ---- a/test/test-tcp-connect6-error.c -+++ b/test/test-tcp-connect6-error.c -@@ -23,6 +23,7 @@ - #include "task.h" - #include <stdio.h> - #include <stdlib.h> -+#include <string.h> - - - static int connect_cb_called = 0; -@@ -75,9 +76,13 @@ TEST_IMPL(tcp_connect6_error_fault) { - - - TEST_IMPL(tcp_connect6_link_local) { -+ uv_interface_address_t* ifs; -+ uv_interface_address_t* p; - struct sockaddr_in6 addr; - uv_connect_t req; - uv_tcp_t server; -+ int ok; -+ int n; - - if (!can_ipv6()) - RETURN_SKIP("IPv6 not supported"); -@@ -90,6 +95,18 @@ TEST_IMPL(tcp_connect6_link_local) { - RETURN_SKIP("Test does not currently work in QEMU"); - #endif /* defined(__QEMU__) */ - -+ /* Check there's an interface that routes link-local (fe80::/10) traffic. */ -+ ASSERT_OK(uv_interface_addresses(&ifs, &n)); -+ for (p = ifs; p < &ifs[n]; p++) -+ if (p->address.address6.sin6_family == AF_INET6) -+ if (!memcmp(&p->address.address6.sin6_addr, "\xfe\x80", 2)) -+ break; -+ ok = (p < &ifs[n]); -+ uv_free_interface_addresses(ifs, n); -+ -+ if (!ok) -+ RETURN_SKIP("IPv6 link-local traffic not supported"); -+ - ASSERT_OK(uv_ip6_addr("fe80::0bad:babe", 1337, &addr)); - ASSERT_OK(uv_tcp_init(uv_default_loop(), &server)); - - diff --git a/dev-libs/libuv/libuv-1.47.0-r1.ebuild b/dev-libs/libuv/libuv-1.47.0-r1.ebuild deleted file mode 100644 index c102af94ad4c..000000000000 --- a/dev-libs/libuv/libuv-1.47.0-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Cross-platform asychronous I/O" -HOMEPAGE="https://github.com/libuv/libuv" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="https://github.com/libuv/libuv.git" - inherit git-r3 -else - SRC_URI="https://github.com/libuv/libuv/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -fi - -LICENSE="BSD BSD-2 ISC MIT" -SLOT="0/1" - -BDEPEND=" - dev-build/libtool - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${P}-ipv6-tests.patch - "${FILESDIR}"/${P}-hppa-kernel.patch - "${FILESDIR}"/${P}-darwin17.patch # upstream -) - -src_prepare() { - default - - echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \ - > m4/libuv-extra-automake-flags.m4 || die - - if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then - eapply "${FILESDIR}"/${PN}-1.41.0-darwin.patch - fi - - # Upstream fails to ship a configure script - eautoreconf -} - -src_configure() { - local myeconfargs=( - cc_cv_cflags__g=no - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - find "${ED}" -name '*.la' -delete || die -} |