diff options
author | lofi <lofi@FreeBSD.org> | 2004-03-17 07:04:14 +0000 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-03-17 07:04:14 +0000 |
commit | 337cf650753876eb7866d3f4e277cb35c42df8ae (patch) | |
tree | a61d66010c20d73419367b36d20d2614ae8e0b7a /x11 | |
parent | 0b88877307eb35780bb63330eab9f31b4d963eef (diff) | |
download | FreeBSD-ports-337cf650753876eb7866d3f4e277cb35c42df8ae.zip FreeBSD-ports-337cf650753876eb7866d3f4e277cb35c42df8ae.tar.gz |
Fix build with freetype2-2.1.7.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/XFree86-4-clients/Makefile | 2 | ||||
-rw-r--r-- | x11/XFree86-4-clients/files/patch-mkfontscale.c | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/x11/XFree86-4-clients/Makefile b/x11/XFree86-4-clients/Makefile index c75cef7..e6545b6 100644 --- a/x11/XFree86-4-clients/Makefile +++ b/x11/XFree86-4-clients/Makefile @@ -37,7 +37,7 @@ XINSTALL_DIRS= programs fonts/util 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 diff --git a/x11/XFree86-4-clients/files/patch-mkfontscale.c b/x11/XFree86-4-clients/files/patch-mkfontscale.c new file mode 100644 index 0000000..8f9a2f2 --- /dev/null +++ b/x11/XFree86-4-clients/files/patch-mkfontscale.c @@ -0,0 +1,12 @@ +--- 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> |