mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2024-11-23 14:46:18 +00:00
f568f513fe
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
33 lines
907 B
Diff
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;
|
|
}
|
|
|
|
|