]> git.donarmstrong.com Git - lilypond.git/blob - debian/patches/fix_freetype_inclusions
faabd1aaec5a0b29ebead105a8e97e74f0ff13c5
[lilypond.git] / debian / patches / fix_freetype_inclusions
1 --- a/lily/freetype.cc
2 +++ b/lily/freetype.cc
3 @@ -20,6 +20,9 @@
4  #include "freetype.hh"
5  #include "warn.hh"
6  
7 +#include FT_OUTLINE_H
8 +#include FT_BBOX_H
9 +
10  FT_Library freetype2_library;
11  
12  void
13 --- a/lily/freetype-error.cc
14 +++ b/lily/freetype-error.cc
15 @@ -31,7 +31,7 @@
16    const char *err_msg;
17  } ft_errors[] =
18  
19 -#include <freetype/fterrors.h>
20 +#include FT_ERRORS_H
21  
22    ;
23  
24 --- a/lily/open-type-font.cc
25 +++ b/lily/open-type-font.cc
26 @@ -23,7 +23,7 @@
27  
28  using namespace std;
29  
30 -#include <freetype/tttables.h>
31 +#include FT_TRUETYPE_TABLES_H
32  
33  #include "dimensions.hh"
34  #include "international.hh"
35 --- a/lily/pango-font.cc
36 +++ b/lily/pango-font.cc
37 @@ -22,7 +22,7 @@
38  #define PANGO_ENABLE_BACKEND
39  
40  #include <pango/pangoft2.h>
41 -#include <freetype/ftxf86.h>
42 +#include FT_XFREE86_H
43  
44  #include <map>
45  #include <cstdio>
46 --- a/lily/ttf.cc
47 +++ b/lily/ttf.cc
48 @@ -20,7 +20,7 @@
49  #include <cstdio>
50  #include "freetype.hh"
51  
52 -#include <freetype/tttables.h>
53 +#include FT_TRUETYPE_TABLES_H
54  
55  #include "international.hh"
56  #include "memory-stream.hh"