From owner-freebsd-gnome@FreeBSD.ORG Fri Mar 18 06:14:32 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 BD91816A4CE; Fri, 18 Mar 2005 06:14:32 +0000 (GMT) Received: from smtp1.mk-netzdienste.de (mail1.mk-netzdienste.de [213.172.96.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05A0F43D55; Fri, 18 Mar 2005 06:14:32 +0000 (GMT) (envelope-from Peter.Weiss@ConSol.de) Received: from localhost (localhost [127.0.0.1]) by smtpout.mk-netzdienste.de (Postfix) with ESMTP id EDCA23F4D6; Fri, 18 Mar 2005 07:14:29 +0100 (CET) Received: from smtp1.mk-netzdienste.de ([127.0.0.1]) by localhost (mail1.mk-netzdienste.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00442-01-79; Fri, 18 Mar 2005 07:14:27 +0100 (CET) Received: from Pichuco.local.homeunix.net (213-172-119-162.dsl.aktivanet.de [213.172.119.162]) by smtp1.mk-netzdienste.de (Postfix) with ESMTP id 9436F3F478; Fri, 18 Mar 2005 07:14:26 +0100 (CET) Received: from Pichuco.local.homeunix.net (localhost [127.0.0.1]) j2I6EPK2006590; Fri, 18 Mar 2005 07:14:25 +0100 Received: (from peter@localhost)j2I6EOel006589; Fri, 18 Mar 2005 07:14:24 +0100 X-Authentication-Warning: Pichuco.local.homeunix.net: peter set sender to Peter.Weiss@ConSol.de using -f To: Michael Johnson References: <200503162115.j2GLFreW005465@freefall.freebsd.org> From: Peter.Weiss@ConSol.de Date: Fri, 18 Mar 2005 07:14:24 +0100 Message-ID: <85sm2tqy4f.fsf@ConSol.de> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by MK Netzdienste cc: gnome@FreeBSD.org cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/78918: Firefox does not build with freetype2-2.1.9 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: Fri, 18 Mar 2005 06:14:33 -0000 Michael Johnson writes: > Synopsis: Firefox does not build with freetype2-2.1.9 > > State-Changed-From-To: open->closed > State-Changed-By: ahze > State-Changed-When: Wed Mar 16 21:13:41 GMT 2005 > State-Changed-Why: > Please make sure your ports tree (www/firefox) is up to date. Looks like you > may be missing www/firefox/files/patch-bugzilla149334 > > http://www.freebsd.org/cgi/query-pr.cgi?pr=78918 Hi, my patch-bugzilla149334 is of latest revision: /usr/ports/www/firefox/files:1> cvs stat patch-bugzilla149334 =================================================================== File: patch-bugzilla149334 Status: Up-to-date Working revision: 1.1 Thu Mar 10 00:43:22 2005 Repository revision: 1.1 /export/cvs/ports/www/firefox/files/patch-bugzilla149334,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) /usr/ports/www/firefox/files:1> md5sum patch-bugzilla149334 1aef0c52cf1902d24a3e2d6c6a37e6ba patch-bugzilla149334 /usr/ports/www/firefox:1> make extract ===> Vulnerability check disabled, database not found ===> Found saved configuration for firefox-1.0_7,1 ===> Extracting for firefox-1.0.1_3,1 => Checksum OK for firefox-1.0.1-source.tar.bz2. ===> firefox-1.0.1_3,1 depends on file: /usr/local/bin/perl5.8.6 - found Extracting source (this takes a while) ... /usr/ports/www/firefox:1> make patch ===> Patching for firefox-1.0.1_3,1 ===> firefox-1.0.1_3,1 depends on file: /usr/local/bin/perl5.8.6 - found ===> Applying FreeBSD patches for firefox-1.0.1_3,1 /usr/ports/www/firefox:1> echo $? 0 But firefox still fails to build. Of course I did a make clean, cvs update and all that... If I look into the patch it patches nsFreeTypeFont.cpp to use the member face_id of class FTC_ImageTypeRec which the compiler complains about: @@ -177,7 +177,7 @@ nsFreeTypeFont::getFTFace() FTC_Manager mgr; nsresult rv; mFt2->GetFTCacheManager(&mgr); - rv = mFt2->ManagerLookupSize(mgr, &mImageDesc.font, &face, nsnull); + rv = mFt2->ManagerLookupFace(mgr, mImageDesc->face_id, &face); NS_ASSERTION(NS_SUCCEEDED(rv), "failed to get face/size"); Peter -- Peter.Weiss@consol.de ConSol* Software GmbH Phone +49 89 45841-100 Consulting & Solutions Mobile +49 177 6040121 Franziskanerstr. 38 http://www.consol.de D-81669 München