Date: Wed, 13 Mar 2002 14:29:24 +0800 From: Calvin NG <calvinng@brel.com> To: "Brian T.Schellenberger" <bts@babbleon.org> Cc: "jochem@CC40670-a.groni1.gr.nl.home.com" <JochemKossen@brel.com>, ports@FreeBSD.ORG Subject: Re: Mozilla and FreeType2 Message-ID: <20020313142924.E18729@brel.com> In-Reply-To: <20020313061656.E7729BB35@i8k.babbleon.org>; from bts@babbleon.org on Wed, Mar 13, 2002 at 01:16:56AM -0500 References: <20020313140456.D18729@brel.com> <20020313061656.E7729BB35@i8k.babbleon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Greetings, Actually that is already defined somewhere. It will only pose a problem if both ports freetype and freetype2 is installed. Then <freetype/freetype.h> will actually include the wrong header, probably because the one for port freetype is earlier in the search path. hmmm, so I found it safest in my case to do what I did. For those who does not have port freetype, nothing need to be done at all, if I am not wrong. Now that I think about it, perhaps its not necessary to send-pr for this. I guess only a few minority will encounter this problem. PS: the mozilla 0.9.9 port is still compiling ;-) Cheers, /calvin lines with :> are quotes from Brian T.Schellenberger's email :> :> Surely it would be easier to fix this with something like :> :> CFLAGS += -I/usr/local/include/freetype2 :> :> in the Makefile? :> :> On Wednesday 13 March 2002 01:04 am, Calvin NG wrote: :> | Greetings, :> | :> | I saw your post regarding problem compiling Mozilla 0.9.9. :> | I encountered exactly the same error as you did. :> | :> | I have traced down to some problems with the freetype2 port. :> | I have the latest freetype2 port freetype2-2.0.9/ :> | One of the header file is wrong. It is, :> | /usr/local/include/freetype2/freetype/config/ftheader.h :> | :> | basically the path is defined wrongly, all #defines :> | with path <freetype/......h> should be replaced with :> | <freetype2/freetype/......h> , yes, the freetype2 part :> | of the path is missing, and causing the wrong header file :> | from the freetype port to be included, (freetype.h), thus :> | causing the error we are seeing. :> | :> | The unified diffs follows, can you send a pr for this :> | please, I am cc: this to the freebsd-ports mailing list :> | which I am not subscribed to. Hopefully the maintainer :> | of port freetype2 will see this. :> | :> | Regards, :> | /calvin :> | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020313142924.E18729>