libxml2 and threads

Joe Marcus Clarke marcus at marcuscom.com
Thu Mar 11 11:58:11 PST 2004


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.

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
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040311/5ce2c48e/attachment.bin


More information about the freebsd-gnome mailing list