From owner-freebsd-gnome@FreeBSD.ORG Tue Jan 18 12:24:25 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 D4E3216A4CE; Tue, 18 Jan 2005 12:24:25 +0000 (GMT) Received: from mail.secnap.net (mail.spammertrap.com [204.89.241.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4184A43D54; Tue, 18 Jan 2005 12:24:25 +0000 (GMT) (envelope-from scheidell@secnap.net) Received: from localhost (localhost [127.0.0.1]) by mail.secnap.net (Postfix) with ESMTP id 6C9D72078; Tue, 18 Jan 2005 07:24:24 -0500 (EST) Received: from [10.96.0.22] (unknown [10.96.0.22]) by mail.secnap.net (Postfix) with ESMTP; Tue, 18 Jan 2005 07:24:15 -0500 (EST) In-Reply-To: <1106028911.1983.21.camel@shumai.marcuscom.com> References: <000201c4fb23$ae4e2300$0600600a@family> <1106028911.1983.21.camel@shumai.marcuscom.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Michael Scheidell Date: Tue, 18 Jan 2005 07:24:10 -0500 To: Joe Marcus Clarke X-Mailer: Apple Mail (2.619) X-Virus-Scanned: SpammerTrap SMB-100 1.0 at secnap.net 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 12:24:25 -0000 wasn't as of jan 15th.. I'll cvs again and see. On Jan 18, 2005, at 1:15 AM, Joe Marcus Clarke wrote: > 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 >> typo fixed by patch below. >> >> >> Ports cvsup os of jan 15th still didn't fix this. >> Patch to fix this below >> >>>> 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. >> >> 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 == NULL) || (outlen == NULL) || (inlen == NULL) || >> - (in == NULL) || (xlattable == NULL)) >> + (in == NULL) || (unicodetable == NULL)) >> return(-1); >> outend = out + *outlen; >> inend = in + *inlen; > > This looks to have been taken care of in CVS HEAD, and should be in > 2.6.17. > > Joe > >> >> > -- > Joe Marcus Clarke > FreeBSD GNOME Team :: gnome@FreeBSD.org > FreeNode / #freebsd-gnome > http://www.FreeBSD.org/gnome > -- Michael Scheidell, CTO SECNAP Network Security