Summary: | sys-apps/sandbox-1.3.{7,git} fail on gentoo-freebsd due to missing sighandler_t type. | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Javier Villavicencio (RETIRED) <the_paya> |
Component: | FreeBSD | Assignee: | Sandbox Maintainers <sandbox> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bsd+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | FreeBSD | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sighandler_t.patch |
Description
Javier Villavicencio (RETIRED)
![]() the AX macros come from the autoconf-archive package Created attachment 182467 [details, diff]
sighandler_t.patch
Thanks, found that out a little later.
There is:
[...]
#if __BSD_VISIBLE
typedef __sighandler_t *sig_t; /* type of pointer to a signal function */
typedef void __siginfohandler_t(int, struct __siginfo *, void *);
#endif
[...]
in <sys/signal.h> on FreeBSD (included from <signal.h>), and also
[...]
#ifdef __USE_GNU
typedef __sighandler_t sighandler_t;
#endif
/* 4.4 BSD uses the name `sig_t' for this. */
#ifdef __USE_BSD
typedef __sighandler_t sig_t;
#endif
[...]
in <signal.h> on glibc.
The patch works on linux and fbsd.
|