| 1 | Description: Patch fixing FTBFS on hurd |
| 2 | See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648993 |
| 3 | . |
| 4 | Relevant quotes: |
| 5 | . |
| 6 | The solution [...] is use a different signal for |
| 7 | DEFAULT_THREAD_INTERRUPT_SIGNAL (I chose SIGINFO [...] I don't think it should |
| 8 | be forwarded upstream, as it is not clean and kind of working around the lack |
| 9 | of realtime signals in Hurd. |
| 10 | Author: Pino Toscano <[email protected]> |
| 11 | Forwarded: not-needed |
| 12 | Last-Update: 2025-10-08 |
| 13 | --- |
| 14 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 15 | --- ecl.orig/src/c/unixint.d |
| 16 | +++ ecl/src/c/unixint.d |
| 17 | @@ -1408,6 +1408,8 @@ |
| 18 | */ |
| 19 | #ifdef SIGRTMIN |
| 20 | # define DEFAULT_THREAD_INTERRUPT_SIGNAL SIGRTMIN + 2 |
| 21 | +#elif defined(__GNU__) |
| 22 | +# define DEFAULT_THREAD_INTERRUPT_SIGNAL SIGINFO |
| 23 | #else |
| 24 | # define DEFAULT_THREAD_INTERRUPT_SIGNAL SIGUSR1 |
| 25 | #endif |