Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 14:38:48 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Alex Dupre <ale@freebsd.org>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: libxml2 and threads
Message-ID:  <1079033927.769.36.camel@gyros>
In-Reply-To: <4050B731.7090401@FreeBSD.org>
References:  <4050B731.7090401@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-rV66r8g9rW13gRH8lMCh
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2004-03-11 at 14:00, Alex Dupre wrote:
> Building a threaded libxml2 library breaks many ports (at least php and=20
> xfce4). Many users enable threads in libxml2 blindly and then complain=20
> that port XXX doesn't work. With the addition of the new OPTIONS feature=20
> the WITH_THREAD knob appears to every user and we are costantly (at=20
> least one or two a day, privately or on mailing list) receiving messages=20
> 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

>=20
> Index: libxml2/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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=3D          xml2-config.1 xmllint.1 xmlcatalog.1
>   MAN3=3D          libxml.3
>=20
> -OPTIONS=3D       THREADS "Enable pthread support" off \
> +OPTIONS=3D       THREADS "Enable pthread support (DEVELOPERS ONLY!)" off=
 \
>                  SCHEMA "Enable XML schema support" on \
>                  MEM_DEBUG "Enable memory debugging (DEVELOPERS ONLY!)"=20
> off \
>                  XMLLINT_HIST "Enable history for xmllint" off \
>=20
> --
> Alex Dupre
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-rV66r8g9rW13gRH8lMCh
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAUMBHb2iPiv4Uz4cRAgYHAJ9ZUuqg90DqSsTgCR50zsoIpPi3wwCgjTDE
JugZYttfsr5y/v5t31JFL/Q=
=+zsL
-----END PGP SIGNATURE-----

--=-rV66r8g9rW13gRH8lMCh--



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