HEADS UP: freetype2 upgrade

Michael Nottebrock michaelnottebrock at gmx.net
Tue Mar 16 22:54:38 PST 2004


On Wednesday 17 March 2004 03:43, Michael Nottebrock wrote:
> 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.

Prominent example, also found by the kde-freebsd cluster: XFree86-4-clients.

Diff/Patch attached, this time with a different mimetype to save it from 
mailman's fangs.

-- 
   ,_,   | 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 --------------
--- programs/mkfontscale/mkfontscale.c.orig	Wed Mar 17 07:01:52 2004
+++ programs/mkfontscale/mkfontscale.c	Wed Mar 17 07:03:10 2004
@@ -29,7 +29,8 @@
 #include <dirent.h>
 
 #include <X11/fonts/fontenc.h>
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
 #include <freetype/ftsnames.h>
 #include <freetype/tttables.h>
 #include <freetype/ttnameid.h>
-------------- next part --------------
? files/patch-mkfontscale.c
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11/XFree86-4-clients/Makefile,v
retrieving revision 1.121
diff -u -r1.121 Makefile
--- Makefile	16 Mar 2004 22:54:03 -0000	1.121
+++ Makefile	17 Mar 2004 06:26:50 -0000
@@ -37,7 +37,7 @@
 XINSTALL_MAN_DIRS=	programs
 
 .for pf in patch-bdftruncate.pl patch-ucs2any.pl \
-	   patch-Xres.cpp patch-Imake.rules
+	   patch-Xres.cpp patch-Imake.rules patch-mkfontscale.c
 EXTRA_PATCHES+=		${FILESDIR}/${pf}
 .endfor
 
-------------- 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-x11/attachments/20040317/2bd003c5/attachment.bin


More information about the freebsd-x11 mailing list