Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 20:00:01 +0100
From:      Alex Dupre <ale@FreeBSD.org>
To:        gnome@FreeBSD.org
Subject:   libxml2 and threads
Message-ID:  <4050B731.7090401@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig153B6B248E40451968CBA057
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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?

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

--------------enig153B6B248E40451968CBA057
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAULc2gRXp2M5fVU0RAicwAJ9/1c0kmEockstELRXJws+r058YbACg9BgY
Rjr6nYynJdUodPJvYKcS0c8=
=KYYT
-----END PGP SIGNATURE-----

--------------enig153B6B248E40451968CBA057--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4050B731.7090401>