-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 12 Apr 2009 11:43:18 +0400 Stanislav Sedov <s...@freebsd.org> mentioned:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sat, 11 Apr 2009 23:00:54 -0400 > David Schultz <d...@freebsd.org> mentioned: > > > On Sun, Apr 12, 2009, Norikatsu Shigemura wrote: > > > On Sat, 11 Apr 2009 21:07:02 +0400 > > > Stanislav Sedov <s...@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 > Of course, I meant #if !(defined(__FreeBSD__) && __FreeBSD_version >= %%PTHREAD_CHANGE_VERSION%%) # define pthread_kill(a, b) # define pthread_sigmask(a, b, c) #endif #include <signal.h> #if !(defined(__FreeBSD__) && __FreeBSD_version >= %%PTHREAD_CHANGE_VERSION%%) # undef pthread_kill # undef pthread_sigmask #endif - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAkniP0oACgkQK/VZk+smlYGnLwCfTXaiKQcHUYtqF7ObGCLl4yqb XMMAniNOBZznv4MvldusQtsNG96eZmBK =HO6m -----END PGP SIGNATURE----- !DSPAM:49e23f46967001672211560! _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"