File: patch-hurd.patch

package info (click to toggle)
ecl 24.5.10.20250914.git294da20%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 19,016 kB
  • sloc: ansic: 190,682; lisp: 69,500; xml: 8,221; asm: 5,551; sh: 3,390; makefile: 2,020; cpp: 190; java: 116
file content (25 lines) | stat: -rw-r--r-- 813 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Patch fixing FTBFS on hurd
 See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648993
 .
 Relevant quotes:
 .
 The solution [...] is use a different signal for
 DEFAULT_THREAD_INTERRUPT_SIGNAL (I chose SIGINFO [...] I don't think it should
 be forwarded upstream, as it is not clean and kind of working around the lack
 of realtime signals in Hurd.
Author: Pino Toscano <pino@debian.org>
Forwarded: not-needed
Last-Update: 2025-10-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- ecl.orig/src/c/unixint.d
+++ ecl/src/c/unixint.d
@@ -1408,6 +1408,8 @@
    */
 #ifdef SIGRTMIN
 # define DEFAULT_THREAD_INTERRUPT_SIGNAL SIGRTMIN + 2
+#elif defined(__GNU__)
+# define DEFAULT_THREAD_INTERRUPT_SIGNAL SIGINFO
 #else
 # define DEFAULT_THREAD_INTERRUPT_SIGNAL SIGUSR1
 #endif