Date: Sat, 11 Apr 2009 16:57:51 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r190943 - head/include Message-ID: <200904111657.n3BGvpsC092703@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: das Date: Sat Apr 11 16:57:50 2009 New Revision: 190943 URL: http://svn.freebsd.org/changeset/base/190943 Log: GNU Pth has some fragile kludges that were broken by r189828. I've discussed this with the Pth maintainer and no clear solution has emerged on the ports side of things, so for now, hack around the issue in signal.h. Modified: head/include/signal.h Modified: head/include/signal.h ============================================================================== --- head/include/signal.h Sat Apr 11 16:12:20 2009 (r190942) +++ head/include/signal.h Sat Apr 11 16:57:50 2009 (r190943) @@ -72,8 +72,10 @@ int raise(int); #if __POSIX_VISIBLE || __XSI_VISIBLE int kill(__pid_t, int); +#ifndef _PTH_PTHREAD_H_ /* XXX kludge to work around GNU Pth brokenness */ int pthread_kill(__pthread_t, int); int pthread_sigmask(int, const __sigset_t *, __sigset_t *); +#endif int sigaction(int, const struct sigaction * __restrict, struct sigaction * __restrict); int sigaddset(sigset_t *, int);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904111657.n3BGvpsC092703>