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
|