svn commit: r190943 - head/include

Stanislav Sedov stas at FreeBSD.org
Sun Apr 12 07:43:20 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 11 Apr 2009 23:00:54 -0400
David Schultz <das at FreeBSD.ORG> mentioned:

> On Sun, Apr 12, 2009, Norikatsu Shigemura wrote:
> > On Sat, 11 Apr 2009 21:07:02 +0400
> > Stanislav Sedov <stas at freebsd.org> wrote:
> > > > 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.
> > > Can't we just put a patch in ports tree itself? What meant under 'no
> > > clean solution emerged'? I can prepare a patch, if needed.
> > 
> > 	I think so, too.  I have a quick hack patch.
> 
> As I mentioned to vd@ on 3/20, I'd prefer something like
> that. Does your proposed patch also work for the ports that depend
> on GNU Pth, some of which may depend on signal.h? 

Will the following do the trick?

 #if !(defined(__FreeBSD__) && __FreeBSD_version >= %%PTHREAD_CHANGE_VERSION%%)
 # define pthread_kill(a, b)
 # define pthread_sigmask(a, b, c)
 # include <signal.h>
 # undef pthread_kill
 # undef pthread_sigmask
 #endif

- -- 
Stanislav Sedov
ST4096-RIPE
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAknhm5oACgkQK/VZk+smlYGD6wCdEMSpTqCEMLpS+PTyGFjrUjGR
wOQAoISd2Y2mqAgKAxVYMR9oKQelyZQq
=L9Ct
-----END PGP SIGNATURE-----

!DSPAM:49e19b96967001471294326!




More information about the svn-src-head mailing list