summaryrefslogtreecommitdiff
blob: e4717972d81a914ae16bfeb761d83a7611c2249b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -437,7 +437,7 @@
    if test "$FT2_CONFIG" = "no" ; then
      no_ft=yes
    else
-     FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
+     FT2_CFLAGS="`$FT2_CONFIG $ft_config_args --cflags` `$FT2_CONFIG $ft_config_args --cflags | sed -e 's:freetype2:freetype2/freetype:'`"
      FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
      ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
        sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
--- a/src/client/GLEXT/GLFont2dFreeType.h
+++ b/src/client/GLEXT/GLFont2dFreeType.h
@@ -23,10 +23,10 @@
 
 #include <GLEXT/GLFont2dStorage.h>
 #include <ft2build.h>
-#include <freetype/freetype.h>
-#include <freetype/ftglyph.h>
-#include <freetype/ftoutln.h>
-#include <freetype/fttrigon.h>
+#include <freetype.h>
+#include <ftglyph.h>
+#include <ftoutln.h>
+#include <fttrigon.h>
 #include <string>
 
 class GLFont2dFreeType
--- a/src/launcher/wxdialogs/TrueTypeFont.h
+++ b/src/launcher/wxdialogs/TrueTypeFont.h
@@ -25,10 +25,10 @@
 #include <wx/image.h>
 #include <ft2build.h>
 #include <string>
-#include <freetype/freetype.h>
-#include <freetype/ftglyph.h>
-#include <freetype/ftoutln.h>
-#include <freetype/fttrigon.h>
+#include <freetype.h>
+#include <ftglyph.h>
+#include <ftoutln.h>
+#include <fttrigon.h>
 
 class TrueTypeFont
 {