diff options
-rw-r--r-- | dev-libs/libuv/files/libuv-1.21.0-UV_FS_LCHOWN.patch | 32 | ||||
-rw-r--r-- | dev-libs/libuv/libuv-1.21.0-r1.ebuild (renamed from dev-libs/libuv/libuv-1.21.0.ebuild) | 3 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/libuv/files/libuv-1.21.0-UV_FS_LCHOWN.patch b/dev-libs/libuv/files/libuv-1.21.0-UV_FS_LCHOWN.patch new file mode 100644 index 000000000000..edd996b70d8c --- /dev/null +++ b/dev-libs/libuv/files/libuv-1.21.0-UV_FS_LCHOWN.patch @@ -0,0 +1,32 @@ +diff --git a/docs/src/fs.rst b/docs/src/fs.rst +index a390f1409..f383e5b10 100644 +--- a/docs/src/fs.rst ++++ b/docs/src/fs.rst +@@ -92,9 +92,9 @@ Data types + UV_FS_READLINK, + UV_FS_CHOWN, + UV_FS_FCHOWN, +- UV_FS_LCHOWN, + UV_FS_REALPATH, +- UV_FS_COPYFILE ++ UV_FS_COPYFILE, ++ UV_FS_LCHOWN + } uv_fs_type; + + .. c:type:: uv_dirent_t +diff --git a/include/uv.h b/include/uv.h +index 91451ada7..efb7b61cf 100644 +--- a/include/uv.h ++++ b/include/uv.h +@@ -1141,9 +1141,9 @@ typedef enum { + UV_FS_READLINK, + UV_FS_CHOWN, + UV_FS_FCHOWN, +- UV_FS_LCHOWN, + UV_FS_REALPATH, +- UV_FS_COPYFILE ++ UV_FS_COPYFILE, ++ UV_FS_LCHOWN + } uv_fs_type; + + /* uv_fs_t is a subclass of uv_req_t. */ diff --git a/dev-libs/libuv/libuv-1.21.0.ebuild b/dev-libs/libuv/libuv-1.21.0-r1.ebuild index 1edbef416b0b..5a5b2d1a24a9 100644 --- a/dev-libs/libuv/libuv-1.21.0.ebuild +++ b/dev-libs/libuv/libuv-1.21.0-r1.ebuild @@ -17,6 +17,9 @@ RESTRICT="test" DEPEND="sys-devel/libtool virtual/pkgconfig[${MULTILIB_USEDEP}]" +PATCHES=( + "${FILESDIR}"/${P}-UV_FS_LCHOWN.patch +) src_prepare() { default |