--- gfx/thebes/Makefile.orig.in 2013-10-16 04:14:45.000000000 +0200
+++ gfx/thebes/Makefile.in 2014-03-26 17:59:19.863457419 +0100
@@ -2,9 +2,14 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+MOZ_FREETYPE_CFLAGS='-I$(INCLUDE)/freetype2'
+
include $(topsrcdir)/config/rules.mk
DEFINES := $(filter-out -DUNICODE,$(DEFINES))
+CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS) $(MOZ_FREETYPE_CFLAGS)
+CFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS) $(MOZ_FREETYPE_CFLAGS)
+
DeprecatedPremultiplyTables.h: $(srcdir)/genTables.py
$(PYTHON) $(srcdir)/genTables.py