Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2009 11:43:18 +0400
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        David Schultz <das@FreeBSD.ORG>
Cc:        Stanislav Sedov <stas@FreeBSD.ORG>, svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, Norikatsu Shigemura <nork@FreeBSD.ORG>
Subject:   Re: svn commit: r190943 - head/include
Message-ID:  <20090412114318.fd0d213d.stas@FreeBSD.org>
In-Reply-To: <20090412030054.GA54299@zim.MIT.EDU>
References:  <200904111657.n3BGvpsC092703@svn.freebsd.org> <20090411210702.ce5325b9.stas@FreeBSD.org> <20090412021841.673a200b.nork@FreeBSD.org> <20090412030054.GA54299@zim.MIT.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

> On Sun, Apr 12, 2009, Norikatsu Shigemura wrote:
> > On Sat, 11 Apr 2009 21:07:02 +0400
> > Stanislav Sedov <stas@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!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090412114318.fd0d213d.stas>