From owner-freebsd-ports Tue Mar 12 22:17:37 2002 Delivered-To: freebsd-ports@freebsd.org Received: from Mail6.nc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by hub.freebsd.org (Postfix) with ESMTP id 0414F37B423 for ; Tue, 12 Mar 2002 22:17:17 -0800 (PST) Received: from i8k.babbleon.org ([66.57.85.154]) by Mail6.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 13 Mar 2002 01:17:02 -0500 Received: by i8k.babbleon.org (Postfix, from userid 111) id E7729BB35; Wed, 13 Mar 2002 01:16:56 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Calvin NG , "jochem@CC40670-a.groni1.gr.nl.home.com" Subject: Re: Mozilla and FreeType2 Date: Wed, 13 Mar 2002 01:16:56 -0500 X-Mailer: KMail [version 1.3] Cc: ports@FreeBSD.ORG References: <20020313140456.D18729@brel.com> In-Reply-To: <20020313140456.D18729@brel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020313061656.E7729BB35@i8k.babbleon.org> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 should be replaced with | , 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 | | --- ftheader.h-orig Wed Mar 13 11:46:58 2002 | +++ ftheader.h Wed Mar 13 13:53:42 2002 | @@ -104,7 +104,7 @@ | /* FreeType 2 configuration data. | */ /* | */ #ifndef FT_CONFIG_CONFIG_H | -#define FT_CONFIG_CONFIG_H | +#define FT_CONFIG_CONFIG_H | #endif | | | @@ -118,7 +118,7 @@ | /* FreeType 2 project-specific configuration options. | */ /* | */ #ifndef FT_CONFIG_OPTIONS_H | -#define FT_CONFIG_OPTIONS_H | +#define FT_CONFIG_OPTIONS_H | #endif | | | @@ -133,7 +133,7 @@ | /* library instances in @FT_Init_FreeType. | */ /* | */ #ifndef FT_CONFIG_MODULES_H | -#define FT_CONFIG_MODULES_H | +#define FT_CONFIG_MODULES_H | #endif | | /* public headers */ | @@ -147,7 +147,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the base FreeType 2 API. | */ /* | */ -#define FT_FREETYPE_H | +#define FT_FREETYPE_H | | | | /*************************************************************************/ | @@ -161,7 +161,7 @@ | /* | */ /* It is included by @FT_FREETYPE_H. | */ /* | */ -#define FT_ERRORS_H | +#define FT_ERRORS_H | | | | /*************************************************************************/ | @@ -173,7 +173,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the list of FreeType 2 module error offsets (and messages). | */ /* | */ -#define FT_MODULE_ERRORS_H | +#define FT_MODULE_ERRORS_H | | | | /*************************************************************************/ | @@ -188,7 +188,7 @@ | /* | */ /* It is included by @FT_FREETYPE_H. | */ /* | */ -#define FT_SYSTEM_H | +#define FT_SYSTEM_H | | | | /*************************************************************************/ | @@ -203,7 +203,7 @@ | /* | */ /* It is included by @FT_FREETYPE_H. | */ /* | */ -#define FT_IMAGE_H | +#define FT_IMAGE_H | | | | /*************************************************************************/ | @@ -217,7 +217,7 @@ | /* | */ /* It is included by @FT_FREETYPE_H. | */ /* | */ -#define FT_TYPES_H | +#define FT_TYPES_H | | | | /*************************************************************************/ | @@ -231,7 +231,7 @@ | /* | */ /* (Most applications will never need to include this file.) | */ /* | */ -#define FT_LIST_H | +#define FT_LIST_H | | | | /*************************************************************************/ | @@ -243,7 +243,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the scalable outline management API of FreeType 2. | */ /* | */ -#define FT_OUTLINE_H | +#define FT_OUTLINE_H | | | | /*************************************************************************/ | @@ -255,7 +255,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the API used to manage multiple @FT_Size objects per face. | */ /* | */ -#define FT_SIZES_H | +#define FT_SIZES_H | | | | /*************************************************************************/ | @@ -267,7 +267,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the module management API of FreeType 2. | */ /* | */ -#define FT_MODULE_H | +#define FT_MODULE_H | | | | /*************************************************************************/ | @@ -279,7 +279,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the renderer module management API of FreeType 2. | */ /* | */ -#define FT_RENDER_H | +#define FT_RENDER_H | | | | /*************************************************************************/ | @@ -291,7 +291,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the types and API specific to the Type 1 format. | */ /* | */ -#define FT_TYPE1_TABLES_H | +#define FT_TYPE1_TABLES_H | | | | /*************************************************************************/ | @@ -306,7 +306,7 @@ | /* constant macro definitions, taken from the TrueType and OpenType | */ /* specifications. | */ /* | */ -#define FT_TRUETYPE_IDS_H | +#define FT_TRUETYPE_IDS_H | | | | /*************************************************************************/ | @@ -319,7 +319,7 @@ | /* the types and API specific to the TrueType (as well as OpenType) | */ /* format. | */ /* | */ -#define FT_TRUETYPE_TABLES_H | +#define FT_TRUETYPE_TABLES_H | | | | /*************************************************************************/ | @@ -332,7 +332,7 @@ | /* the definitions of TrueType 4-byte `tags' used to identify blocks | */ /* in SFNT-based font formats (i.e. TrueType and OpenType). | */ /* | */ -#define FT_TRUETYPE_TAGS_H | +#define FT_TRUETYPE_TAGS_H | | | | /*************************************************************************/ | @@ -344,7 +344,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the API of the optional glyph management component. | */ /* | */ -#define FT_GLYPH_H | +#define FT_GLYPH_H | | | | /*************************************************************************/ | @@ -356,7 +356,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the API of the optional exact bounding box computation routines. | */ /* | */ -#define FT_BBOX_H | +#define FT_BBOX_H | | | | /*************************************************************************/ | @@ -369,7 +369,7 @@ | /* a small useful API to handle bezier arcs. Note that you _must_ | */ /* include FT_FREETYPE_H or FT_IMAGE_H before this header. | */ /* | */ -#define FT_BEZIER_H | +#define FT_BEZIER_H | | | | /*************************************************************************/ | @@ -381,7 +381,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the API of the optional FreeType 2 cache sub-system. | */ /* | */ -#define FT_CACHE_H | +#define FT_CACHE_H | | | | /*************************************************************************/ | @@ -397,7 +397,7 @@ | /* see the API defined in @FT_CACHE_SMALL_BITMAPS_H if you only need | */ /* to store small glyph bitmaps, as it will use less memory. | */ /* | */ -#define FT_CACHE_IMAGE_H | +#define FT_CACHE_IMAGE_H | | | | /*************************************************************************/ | @@ -414,7 +414,7 @@ | /* in @FT_CACHE_IMAGE_H if you want to cache arbitrary glyph images, | */ /* including scalable outlines. | */ /* | */ -#define FT_CACHE_SMALL_BITMAPS_H | +#define FT_CACHE_SMALL_BITMAPS_H | | | | /*************************************************************************/ | @@ -426,7 +426,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the `charmap' API of the FreeType 2 cache sub-system. | */ /* | */ -#define FT_CACHE_CHARMAP_H | +#define FT_CACHE_CHARMAP_H | | | | /*************************************************************************/ | @@ -443,7 +443,7 @@ | /* applications compiled on the Mac (note that the base API still | */ /* works though). | */ /* | */ -#define FT_MAC_H | +#define FT_MAC_H | | | | /*************************************************************************/ | @@ -455,7 +455,7 @@ | /* A macro used in #include statements to name the file containing | */ /* the optional multiple-masters management API of FreeType 2. | */ /* | */ -#define FT_MULTIPLE_MASTERS_H | +#define FT_MULTIPLE_MASTERS_H | | | | /*************************************************************************/ | @@ -468,22 +468,22 @@ | /* the optional FreeType 2 API used to access embedded `name' strings | */ /* in SFNT-based font formats (i.e. TrueType and OpenType). | */ /* | */ -#define FT_SFNT_NAMES_H | +#define FT_SFNT_NAMES_H | | /* */ | | -#define FT_TRIGONOMETRY_H | -#define FT_SYNTHESIS_H | +#define FT_TRIGONOMETRY_H | +#define FT_SYNTHESIS_H | | -#define FT_CACHE_MANAGER_H | +#define FT_CACHE_MANAGER_H | | -#define FT_CACHE_INTERNAL_LRU_H | -#define FT_CACHE_INTERNAL_GLYPH_H | -#define FT_CACHE_INTERNAL_CACHE_H | +#define FT_CACHE_INTERNAL_LRU_H | +#define FT_CACHE_INTERNAL_GLYPH_H | +#define FT_CACHE_INTERNAL_CACHE_H | | - /* now include internal headers definitions from | */ + /* now include internal headers definitions from | */ | | -#define FT_INTERNAL_INTERNAL_H | +#define FT_INTERNAL_INTERNAL_H | #include FT_INTERNAL_INTERNAL_H | | | | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-ports" in the body of the message -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) ME --> http://www.babbleon.org http://www.eff.org <-- GOOD GUYS --> http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message