fix build with newer FreeType; from matthieu@, ok brad@

This commit is contained in:
naddy 2014-01-09 17:39:11 +00:00
parent a98034c1c8
commit 5bdbdfab05

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-modules_text_renderer_freetype_c,v 1.3 2014/01/09 17:39:11 naddy Exp $
--- modules/text_renderer/freetype.c.orig Tue Dec 4 16:17:17 2012
+++ modules/text_renderer/freetype.c Thu Jan 9 16:28:30 2014
@@ -64,7 +64,8 @@
#endif
/* Freetype */
-#include <freetype/ftsynth.h>
+#include <ft2build.h>
+#include FT_SYNTHESIS_H
#include FT_FREETYPE_H
#include FT_GLYPH_H
#include FT_STROKER_H