File: ignore-unused-signals.patch

package info (click to toggle)
fish 4.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 41,008 kB
  • sloc: python: 6,565; javascript: 1,406; sh: 557; ansic: 385; objc: 78; makefile: 20; xml: 19
file content (16 lines) | stat: -rw-r--r-- 694 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Remove signals unused but absent on some platforms failing build
Forwarded: not-needed
Last-Update: 2024-12-22
Index: fish/src/signal.rs
===================================================================
--- fish.orig/src/signal.rs
+++ fish/src/signal.rs
@@ -401,7 +401,7 @@ const SIGNAL_TABLE : &[LookupEntry] = &[
     #[cfg(any(bsd, target_os = "macos"))]
     LookupEntry::new(libc::SIGINFO,   L!("SIGINFO"), L!("Information request")),
 
-    #[cfg(target_os = "linux")]
+    #[cfg(all(target_os = "linux", not(any(target_arch = "mips", target_arch = "mips64"))))]
     LookupEntry::new(libc::SIGSTKFLT, L!("SISTKFLT"), L!("Stack fault")),
 
     #[cfg(target_os = "linux")]