From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 7 14:52:33 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A89D106566B; Tue, 7 Feb 2012 14:52:33 +0000 (UTC) (envelope-from rflynn@acsalaska.net) Received: from huffman.acsalaska.net (huffman.acsalaska.net [209.112.173.250]) by mx1.freebsd.org (Postfix) with ESMTP id 242068FC13; Tue, 7 Feb 2012 14:52:32 +0000 (UTC) Received: from mymail.acsalaska.net (sheep.acsalaska.net [216.67.61.194]) by huffman.acsalaska.net (8.14.4/8.14.4) with ESMTP id q17EqVRQ023016; Tue, 7 Feb 2012 05:52:32 -0900 (AKST) (envelope-from rflynn@acsalaska.net) Received: from 46.129.107.107 (SquirrelMail authenticated user rflynn@acsalaska.net) by mymail.acsalaska.net with HTTP; Tue, 7 Feb 2012 05:52:32 -0900 (AKST) Message-ID: <4853.46.129.107.107.1328626352.squirrel@mymail.acsalaska.net> In-Reply-To: <86f5029a8da18393296855b90ac9e876@bluelife.at> References: <4415.46.129.107.107.1328479605.squirrel@mymail.acsalaska.net> <3942.46.129.107.107.1328577482.squirrel@mymail.acsalaska.net> <86f5029a8da18393296855b90ac9e876@bluelife.at> Date: Tue, 7 Feb 2012 05:52:32 -0900 (AKST) From: rflynn@acsalaska.net To: "Bernhard Froehlich" User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (huffman.acsalaska.net [209.112.168.121]); Tue, 07 Feb 2012 05:52:32 -0900 (AKST) X-ACS-Spam-Status: no X-ACS-Scanned-By: MD 2.67; SA 3.3.0; spamdefang 1.122 X-Mailman-Approved-At: Tue, 07 Feb 2012 16:12:27 +0000 Cc: freebsd-hackers@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: xlocale support (Was: Re: Zarafa port) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2012 14:52:33 -0000 > On 07.02.2012 02:18, rflynn@acsalaska.net wrote: >> Hi, >> >>> Thanks for starting to work on it! I've added a link from >>> WantedPorts >>> to that >>> mail. >> >> Currently stuck on the absence of xlocale(3). Is there any chance >> these >> get MFC'd to RELENG_9 and RELENG_8? Or should I try implementing them >> in platform*.cpp within Zarafa? The latter looks possible, yet not >> trivial (still have to figure out what it needs from libc_private.h). >> Also open to workarounds or ports that implement these interfaces. > > It looks like xlocale support in current still has some problems so it > needs to mature a bit more before it gets MFCd. > > Many projects have some fallback if xlocale.h does not exist and just > need a small patch to don't include xlocale.h on FreeBSD. An example > is the patch for multimedia/mlt: I looked at the OpenBSD port patches and stripped out the xlocale interfaces, just a bit different (using HAVE_XLOCALE i.s.o __FreeBSD__) so it'll work on HEAD. Hopefully, I can get an autoconf patch for this xlocale(3) test back to upstream, else I'll set it based on $OSVERSION in the port's Makefile, cause so far I can get away with not using USE_AUTOTOOLS. For future reference, USE_GCC=4.6 didn't help. -- Mel