Source: ffe Version: 0.3.4-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, Currently xdebug fails to build from source due to that the flag SA_NOCLDWAIT is not supported on GNU/Hurd. According to the manpage for sigaction this is Linux-specific and was introduced in the 2.6 series. The attached patch fixes this problem by defining SA_NOCLDWAIT to zero when not defined. Thanks!
--- a/src/ffe.c 2014-03-26 11:57:46.000000000 +0100 +++ b/src/ffe.c 2014-05-09 16:18:38.000000000 +0200 @@ -898,6 +898,9 @@ char *field_list = NULL; #ifdef HAVE_SIGACTION +#ifndef SA_NOCLDWAIT +#define SA_NOCLDWAIT 0 +#endif struct sigaction act; sigemptyset(&act.sa_mask); act.sa_handler = SIG_IGN;