ports/75029: XFree86-clients-4.4.0_2 will not compile with freetype2-2.1.7_3

Bjoern Engels bj at 0x20.net
Mon Dec 13 18:40:25 UTC 2004


>Number:         75029
>Category:       ports
>Synopsis:       XFree86-clients-4.4.0_2 will not compile with freetype2-2.1.7_3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 13 18:40:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Bjoern Engels
>Release:        FreeBSD 5.2.1-RELEASE-p13 i386
>Organization:
OpenIT GmbH
>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 at 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 <ft2build.h>
		      #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 <ft2build.h>"
		 #error "  #include FT_FREETYPE_H"
		 #endif
		-
		+*/
		 
		 #ifndef __FREETYPE_H__
		 #define __FREETYPE_H__

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list