0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-23 14:46:18 +00:00
glibc-packages/gpkg/libuv/linux.c.patch
Ivan Max f568f513fe
add, fix and upd pkg to gpkg
gpkg/jsoncpp: new pkg (#108)
gpkg/binutils-libs: fixing dependencies
gpkg/libgc: new pkg
gpkg/rhash: new pkg
gpkg/cppdap: new pkg
gpkg/libuv: fix
gpkg/make: new pkg
gpkg/nlohmann-json: new pkg
gpkg/cmake: new pkg
gpkg/libnghttp2: upd to 1.56.0
2023-09-22 15:23:24 +03:00

33 lines
907 B
Diff

--- libuv-v1.46.0/src/unix/linux.c 2023-06-30 21:31:51.000000000 +0300
+++ libuv-v1.46.0/src/unix/linux.c.patch 2023-09-21 12:25:13.696050386 +0300
@@ -392,7 +392,7 @@
int uv__io_uring_setup(int entries, struct uv__io_uring_params* params) {
- return syscall(__NR_io_uring_setup, entries, params);
+ return errno = ENOSYS, -1;
}
@@ -404,18 +404,12 @@
* in newer kernels unless IORING_ENTER_EXT_ARG is set,
* in which case it takes a struct io_uring_getevents_arg.
*/
- return syscall(__NR_io_uring_enter,
- fd,
- to_submit,
- min_complete,
- flags,
- NULL,
- 0L);
+ return errno = ENOSYS, -1;
}
int uv__io_uring_register(int fd, unsigned opcode, void* arg, unsigned nargs) {
- return syscall(__NR_io_uring_register, fd, opcode, arg, nargs);
+ return errno = ENOSYS, -1;
}