From owner-freebsd-gnome@FreeBSD.ORG Thu Mar 11 12:04:17 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4018816A4CE; Thu, 11 Mar 2004 12:04:17 -0800 (PST) Received: from lakemtao08.cox.net (lakemtao08.cox.net [68.1.17.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B8DB43D41; Thu, 11 Mar 2004 12:04:16 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao08.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040311200414.EGTV10550.lakemtao08.cox.net@mezz.mezzweb.com>; Thu, 11 Mar 2004 15:04:14 -0500 To: Joe Marcus Clarke References: <4050B731.7090401@FreeBSD.org> <1079033927.769.36.camel@gyros> Message-ID: From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 11 Mar 2004 14:03:12 -0600 In-Reply-To: <1079033927.769.36.camel@gyros> User-Agent: Opera7.23/Linux M2 build 518 cc: FreeBSD GNOME Users cc: Alex Dupre Subject: Re: libxml2 and threads X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 20:04:17 -0000 On Thu, 11 Mar 2004 14:38:48 -0500, Joe Marcus Clarke wrote: > On Thu, 2004-03-11 at 14:00, Alex Dupre wrote: >> Building a threaded libxml2 library breaks many ports (at least php and >> xfce4). Many users enable threads in libxml2 blindly and then complain >> that port XXX doesn't work. With the addition of the new OPTIONS feature >> the WITH_THREAD knob appears to every user and we are costantly (at >> least one or two a day, privately or on mailing list) receiving messages >> about such failure. Is it possible to commit a change like the >> following? > > Threads are not just for developers. Users that don't need PHP, or > other non-threaded libxml2 consumers may want them. How about something like this: s/DEVELOPERS ONLY!/Warning, will not work on with some apps./g Or, a new pkg-message? Cheers, Mezz > Joe > >> >> Index: libxml2/Makefile >> =================================================================== >> RCS file: /home/pcvs/ports/textproc/libxml2/Makefile,v >> retrieving revision 1.113 >> diff -u -r1.113 Makefile >> --- libxml2/Makefile 23 Feb 2004 18:37:41 -0000 1.113 >> +++ libxml2/Makefile 11 Mar 2004 18:51:47 -0000 >> @@ -30,7 +30,7 @@ >> MAN1= xml2-config.1 xmllint.1 xmlcatalog.1 >> MAN3= libxml.3 >> >> -OPTIONS= THREADS "Enable pthread support" off \ >> +OPTIONS= THREADS "Enable pthread support (DEVELOPERS ONLY!)" off >> \ >> SCHEMA "Enable XML schema support" on \ >> MEM_DEBUG "Enable memory debugging (DEVELOPERS ONLY!)" >> off \ >> XMLLINT_HIST "Enable history for xmllint" off \ >> >> -- >> Alex Dupre -- bsdforums.org 's moderator, mezz.