HEADS UP: freetype2 upgrade

Michael Nottebrock michaelnottebrock at gmx.net
Tue Mar 16 18:43:45 PST 2004

On Wednesday 17 March 2004 01:26, Joe Marcus Clarke wrote:
> This is a HEADS UP to maintainers of ports that use freetype2.  The
> recent freetype2 upgrade brings in an internal API change.  You may
> start noticing ports fail to build with an error saying you did not
> include ft2build.h.  I have added a CHANGES entry for this problem, but
> just to sum it up, if a source file includes freetype/freetype.h, you
> must replace that with:
> #include <ft2build.h>
> #include FT_FREETYPE_H

It's noteworthy that freetype/freetype.h is probably used by many ports in 
configure checks for freetype.

One example is graphics/xpdf. Patching those configure scripts should often be 
simple though, example patch for xpdf is attached.

   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-configure
Type: text/x-diff
Size: 327 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040317/eb22812d/patch-configure.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040317/eb22812d/attachment.bin

More information about the freebsd-ports mailing list