diff options
author | 2024-01-11 21:48:16 +0100 | |
---|---|---|
committer | 2024-01-11 21:49:31 +0100 | |
commit | e2500536d4b0d8ddee8823cfb3cd47e0163df8a2 (patch) | |
tree | 61eedcfdf5f07ade772a1396c0d13e3461cc3b76 /dev-libs/libuv | |
parent | app-arch/unar: add 1.10.8 (diff) | |
download | gentoo-e2500536d4b0d8ddee8823cfb3cd47e0163df8a2.tar.gz gentoo-e2500536d4b0d8ddee8823cfb3cd47e0163df8a2.tar.bz2 gentoo-e2500536d4b0d8ddee8823cfb3cd47e0163df8a2.zip |
dev-libs/libuv-1.47.0-r1: add patch for <macOS-11 from upstream
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'dev-libs/libuv')
-rw-r--r-- | dev-libs/libuv/files/libuv-1.47.0-darwin17.patch | 26 | ||||
-rw-r--r-- | dev-libs/libuv/libuv-1.47.0-r1.ebuild | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/libuv/files/libuv-1.47.0-darwin17.patch b/dev-libs/libuv/files/libuv-1.47.0-darwin17.patch new file mode 100644 index 000000000000..3fa90de83288 --- /dev/null +++ b/dev-libs/libuv/files/libuv-1.47.0-darwin17.patch @@ -0,0 +1,26 @@ +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/libuv-1.47.0-r1.ebuild b/dev-libs/libuv/libuv-1.47.0-r1.ebuild index 9e8470d1e7ac..465058e59761 100644 --- a/dev-libs/libuv/libuv-1.47.0-r1.ebuild +++ b/dev-libs/libuv/libuv-1.47.0-r1.ebuild @@ -27,6 +27,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-ipv6-tests.patch "${FILESDIR}"/${P}-hppa-kernel.patch + "${FILESDIR}"/${P}-darwin17.patch # upstream ) src_prepare() { |