From owner-freebsd-gnome@FreeBSD.ORG Mon Dec 13 18:33:12 2004 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 734A916A4CE; Mon, 13 Dec 2004 18:33:12 +0000 (GMT) Received: from e.0x20.net (e.0x20.net [217.69.67.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85AAC43D5D; Mon, 13 Dec 2004 18:33:11 +0000 (GMT) (envelope-from bj@0x20.net) Received: from e.0x20.net (localhost [127.0.0.1]) by e.0x20.net (8.12.10/8.12.10/Submit) with ESMTP id iBDIX6b7062940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 13 Dec 2004 19:33:06 +0100 (CET) (envelope-from bj@e.0x20.net) Received: (from bj@localhost) by e.0x20.net (8.12.10/8.12.10/Submit) id iBDIX6Kc062939; Mon, 13 Dec 2004 19:33:06 +0100 (CET) (envelope-from bj) Date: Mon, 13 Dec 2004 19:33:06 +0100 (CET) Message-Id: <200412131833.iBDIX6Kc062939@e.0x20.net> To: FreeBSD-gnats-submit@freebsd.org From: Bjoern Engels X-send-pr-version: 3.113 X-GNATS-Notify: X-Spam-Flag: NO X-Scanned-By: milter-spamc/0.25.320 ( [127.0.0.1]); Mon, 13 Dec 2004 19:33:09 +0100 X-Spam-Status: NO, hits=-102.60 required=5.00 X-Spam-Level: cc: gnome@freebsd.org cc: bj@0x20.net Subject: XFree86-clients-4.4.0_2 will not compile with freetype2-2.1.7_3 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bjoern Engels List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2004 18:33:12 -0000 >Submitter-Id: current-users >Originator: Bjoern Engels >Organization: OpenIT GmbH >Confidential: no >Synopsis: XFree86-clients-4.4.0_2 will not compile with freetype2-2.1.7_3 >Severity: non-critical >Priority: low >Category: ports >Class: sw-bug >Release: FreeBSD 5.2.1-RELEASE-p13 i386 >Environment: FreeBSD buildhost.0x20.net 5.2.1-RELEASE-p13 FreeBSD 5.2.1-RELEASE-p13 #0: Thu Dec 2 14:52:04 CET 2004 root@buildhost.0x20.net:/usr/obj/usr/src/sys/NADE_20041202 i386 >Description: XFree86-4 and xorg-x11 won't build with the actual ports version of freetype2, stopping with `ft2build.h' hasn't been included yet! Please always use macros to include FreeType header files. Example: #include #error " #include FT_FREETYPE_H >How-To-Repeat: try to build XFree-4 / xorg-x11 >Fix: For me this patch worked fine --- freetype-2.1.7/include/freetype/freetype.h.orig Mon Dec 13 19:13:45 2004 +++ freetype-2.1.7/include/freetype/freetype.h Mon Dec 13 19:16:35 2004 @@ -16,6 +16,9 @@ /***************************************************************************/ +/***************************************************************************/ +/* commented becaue XFree86-clients will not build with this section */ +/* #ifndef FT_FREETYPE_H #error "`ft2build.h' hasn't been included yet!" #error "Please always use macros to include FreeType header files." @@ -23,7 +26,7 @@ #error " #include " #error " #include FT_FREETYPE_H" #endif - +*/ #ifndef __FREETYPE_H__ #define __FREETYPE_H__