From owner-svn-src-head@FreeBSD.ORG Sun Apr 12 19:21:44 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 AE6871065688 for ; Sun, 12 Apr 2009 19:21:44 +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 5CE0B8FC25 for ; Sun, 12 Apr 2009 19:21:44 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id C14398FC4F for ; Sun, 12 Apr 2009 23:21:43 +0400 (MSD) Received: from orion.SpringDaemons.com (unknown [77.232.3.143]) by mx0.deglitch.com (Postfix) with ESMTPA id 5A7F08FC1D; Sun, 12 Apr 2009 23:21:39 +0400 (MSD) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id 9D7453981A; Sun, 12 Apr 2009 23:21:46 +0400 (MSD) Date: Sun, 12 Apr 2009 23:21:42 +0400 From: Stanislav Sedov To: Stanislav Sedov Message-Id: <20090412232142.1289985d.stas@FreeBSD.org> In-Reply-To: <20090412114318.fd0d213d.stas@FreeBSD.org> References: <200904111657.n3BGvpsC092703@svn.freebsd.org> <20090411210702.ce5325b9.stas@FreeBSD.org> <20090412021841.673a200b.nork@FreeBSD.org> <20090412030054.GA54299@zim.MIT.EDU> <20090412114318.fd0d213d.stas@FreeBSD.org> 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 23:21:43 2009 X-DSPAM-Confidence: 1.0000 X-DSPAM-Improbability: 1 in 98689409 chance of being spam X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 49e23f47967001128590757 Cc: src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, Norikatsu Shigemura , Stanislav Sedov , svn-src-head@FreeBSD.ORG, David Schultz 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 19:21:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 12 Apr 2009 11:43:18 +0400 Stanislav Sedov mentioned: > -----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 > 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 #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:49e23f47967001128590757!