File: sh4-disable-io_uring.patch

package info (click to toggle)
libuv1 1.51.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,772 kB
  • sloc: ansic: 74,890; makefile: 676; python: 189; sh: 51; javascript: 18
file content (15 lines) | stat: -rw-r--r-- 538 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: build on sh4 fails with io_uring
Author: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Last-Update: 2025-08-20
Forwarded: https://github.com/libuv/libuv/issues/4283
--- a/src/unix/linux.c
+++ b/src/unix/linux.c
@@ -470,6 +470,8 @@
 #elif defined(__powerpc64__) || defined(__ppc64__)
   /* See https://github.com/libuv/libuv/issues/4283. */
   return 0; /* Random SIGSEGV in signal handler. */
+#elif defined(__sh__)
+  return 0;
 #else
   /* Ternary: unknown=0, yes=1, no=-1 */
   static _Atomic int use_io_uring;