Magellan Linux

Annotation of /trunk/ttmkfdir/patches/ttmkfdir-3.0.9-freetype_new_includes.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years, 1 month ago) by niro
File size: 1199 byte(s)
-import

1 niro 153 --- ttmkfdir-3.0.9/encoding.cpp.orig 2002-12-09 17:52:48.000000000 +0900
2     +++ ttmkfdir-3.0.9/encoding.cpp 2004-01-31 18:16:46.617118976 +0900
3     @@ -4,7 +4,6 @@
4     #include <cstring>
5     #include <unistd.h>
6     #include <zlib.h>
7     -#include "freetype/freetype.h"
8    
9     #include "ttmkfdir.h"
10     #include "encoding.h"
11     --- ttmkfdir-3.0.9/encoding.h.orig 2002-12-09 17:52:48.000000000 +0900
12     +++ ttmkfdir-3.0.9/encoding.h 2004-01-31 18:19:18.600014064 +0900
13     @@ -6,7 +6,8 @@
14     #include <map>
15     #include <string>
16    
17     -#include "freetype/freetype.h"
18     +#include <ft2build.h>
19     +#include FT_FREETYPE_H
20    
21     #include "util.h"
22    
23     --- ttmkfdir-3.0.9/ttf.h.orig 2003-01-08 14:25:25.000000000 +0900
24     +++ ttmkfdir-3.0.9/ttf.h 2004-01-31 18:32:53.333155800 +0900
25     @@ -3,12 +3,13 @@
26     #define TTF_H__
27    
28     #include <string>
29     -#include "freetype/freetype.h"
30     -#include "freetype/tttables.h"
31     -#include "freetype/ftsnames.h"
32     -#include "freetype/ttnameid.h"
33     -#include "freetype/fterrors.h"
34     -#include "freetype/ftmodule.h"
35     +#include <ft2build.h>
36     +#include FT_FREETYPE_H
37     +#include FT_SFNT_NAMES_H
38     +#include FT_TRUETYPE_TABLES_H
39     +#include FT_TRUETYPE_IDS_H
40     +#include FT_ERRORS_H
41     +#include FT_MODULE_H
42    
43     #include "util.h"
44     #include "encoding.h"