libmlt/use-recommended-freetype-include.patch

14 lines
527 B
Diff
Raw Normal View History

diff -U 3 -H -d -r -N -- mlt-0.9.2.orig/src/modules/gtk2/producer_pango.c mlt-0.9.2/src/modules/gtk2/producer_pango.c
--- mlt-0.9.2.orig/src/modules/gtk2/producer_pango.c 2014-06-29 22:23:17.000000000 +0200
+++ mlt-0.9.2/src/modules/gtk2/producer_pango.c 2014-10-16 17:51:03.421118657 +0200
@@ -25,7 +25,8 @@
#include <string.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <pango/pangoft2.h>
-#include <freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
#include <iconv.h>
#include <pthread.h>
#include <ctype.h>