From owner-svn-src-head@FreeBSD.ORG Sun Apr 12 07:43:20 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 351031065670 for ; Sun, 12 Apr 2009 07:43:20 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id D97078FC12 for ; Sun, 12 Apr 2009 07:43:19 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id 1B6638FC53 for ; Sun, 12 Apr 2009 11:43:19 +0400 (MSD) Received: from orion.SpringDaemons.com (unknown [77.232.3.143]) by mx0.deglitch.com (Postfix) with ESMTPA id E98588FC1D; Sun, 12 Apr 2009 11:43:14 +0400 (MSD) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id A4E9D39832; Sun, 12 Apr 2009 11:43:22 +0400 (MSD) Date: Sun, 12 Apr 2009 11:43:18 +0400 From: Stanislav Sedov To: David Schultz 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> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Apr 12 11:43:18 2009 X-DSPAM-Confidence: 1.0000 X-DSPAM-Improbability: 1 in 98689409 chance of being spam X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 49e19b96967001471294326 Cc: Stanislav Sedov , svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, Norikatsu Shigemura Subject: Re: svn commit: r190943 - head/include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2009 07:43:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 11 Apr 2009 23:00:54 -0400 David Schultz mentioned: > On Sun, Apr 12, 2009, Norikatsu Shigemura wrote: > > On Sat, 11 Apr 2009 21:07:02 +0400 > > Stanislav Sedov 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 # 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!