procps fails to build from source due to usage of field si_int of struct
siginfo_t in lib/test_process.c which does not exist on GNU/Hurd.
Thanks to Svante Signell for the patch.
References:
https://bugs.debian.org/987557
Signed-off-by: Craig Small <csmall@dropbear.xyz>
printf("SIG %s\n", signame);
break;
case SI_QUEUE:
- printf("SIG %s value=%d\n", signame, siginfo->si_int);
+# ifndef __GNU__
+ printf("SIG %s value=%d\n", signame, siginfo->si_int);
+# else
+ printf("case SI_QUEUE: SIG %s siginfo->si_int undefined\n", signame);
+#endif
break;
default:
printf("Unknown si_code %d\n", siginfo->si_code);