| @@ -1,12 +1,24 @@ | | | @@ -1,12 +1,24 @@ |
1 | $NetBSD: patch-ab,v 1.1 2004/04/27 15:18:08 adam Exp $ | | 1 | $NetBSD: patch-ab,v 1.2 2014/03/22 22:02:11 spz Exp $ |
2 | | | 2 | |
3 | --- ft.c.orig 2004-04-27 10:58:11.000000000 +0000 | | 3 | make it deal gracefully with both freetype 2.4.* and 2.5.* |
| | | 4 | |
| | | 5 | --- ft.c.orig 2003-12-31 21:30:50.000000000 +0000 |
4 | +++ ft.c | | 6 | +++ ft.c |
5 | @@ -12,6 +12,7 @@ | | 7 | @@ -12,11 +12,12 @@ |
6 | #include <stdlib.h> | | 8 | #include <stdlib.h> |
7 | #include <ctype.h> | | 9 | #include <ctype.h> |
8 | #include <sys/types.h> | | 10 | #include <sys/types.h> |
| | | 11 | -#include <freetype/freetype.h> |
| | | 12 | -#include <freetype/ftglyph.h> |
| | | 13 | -#include <freetype/ftsnames.h> |
| | | 14 | -#include <freetype/ttnameid.h> |
| | | 15 | -#include <freetype/ftoutln.h> |
9 | +#include <ft2build.h> | | 16 | +#include <ft2build.h> |
10 | #include <freetype/freetype.h> | | 17 | +#include FT_FREETYPE_H |
11 | #include <freetype/ftglyph.h> | | 18 | +#include FT_GLYPH_H |
12 | #include <freetype/ftsnames.h> | | 19 | +#include FT_SFNT_NAMES_H |
| | | 20 | +#include FT_TRUETYPE_IDS_H |
| | | 21 | +#include FT_OUTLINE_H |
| | | 22 | #include "pt1.h" |
| | | 23 | #include "global.h" |
| | | 24 | |