From owner-freebsd-gnome@FreeBSD.ORG Tue Jan 18 06:15:42 2005 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 BD51516A4CE for ; Tue, 18 Jan 2005 06:15:42 +0000 (GMT) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 171C343D48 for ; Tue, 18 Jan 2005 06:15:42 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) j0I6HJV1062717; Tue, 18 Jan 2005 01:17:19 -0500 (EST) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Michael Scheidell In-Reply-To: <000201c4fb23$ae4e2300$0600600a@family> References: <000201c4fb23$ae4e2300$0600600a@family> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-pcTZl0twxnmA8qr1/ByF" Organization: FreeBSD, Inc. Date: Tue, 18 Jan 2005 01:15:11 -0500 Message-Id: <1106028911.1983.21.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: freebsd-gnome@FreeBSD.org cc: thomasv@netapp.com Subject: Re: libxml2 errors under FreeBSD 5.3 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: Tue, 18 Jan 2005 06:15:42 -0000 --=-pcTZl0twxnmA8qr1/ByF Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2005-01-15 at 12:00 -0500, Michael Scheidell wrote: > Posted in xml, gnome and org. (november 29th) and on dec 15th, 2004 > (different errors, different posters.. and no, its not the CFLAGS) > if you specify XML in PHP5_extensions, it tries to compile libxml. small= =20 > typo fixed by patch below. >=20 >=20 > Ports cvsup os of jan 15th still didn't fix this. > Patch to fix this below >=20 > > > libxml2-2.6.16 build errors out on MINGW with MSYS in > > > encoding.c: In function `ISO8859xToUTF8':encoding.c:2338: > > `xlattable' > > > undeclared (first use in this function) > > > > Open the file in an editor, go to line 2338, and replace > > "xlattable" with > > "unicodetable". It compiles fine afterward. Apparently this > > line of code was > > copied from another function in which "xlattable" was the > > name of the function > > parameter, and the author didn't think to rename the variable > > when he copied it. >=20 > diff -bBru encoding.c.orig encoding.c > --- encoding.c.orig Sat Nov 6 07:19:31 2004 > +++ encoding.c Sat Jan 15 11:50:07 2005 > @@ -2335,7 +2335,7 @@ > unsigned int c; > if ((out =3D=3D NULL) || (outlen =3D=3D NULL) || (inlen =3D=3D NULL) || > - (in =3D=3D NULL) || (xlattable =3D=3D NULL)) > + (in =3D=3D NULL) || (unicodetable =3D=3D NULL)) > return(-1); > outend =3D out + *outlen; > inend =3D in + *inlen;=20 This looks to have been taken care of in CVS HEAD, and should be in 2.6.17. Joe >=20 >=20 --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-pcTZl0twxnmA8qr1/ByF Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBB7Klvb2iPiv4Uz4cRAh+3AJ0a1QDFAnv4PGhgTkqsgk6KiZ2uvgCeLs8i SRQqbQ4VIUO9BGP3O6L3Wo8= =mzEZ -----END PGP SIGNATURE----- --=-pcTZl0twxnmA8qr1/ByF--