From 15cf359d826039d5fb0ff7ded515eb16565d80e6 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Fri, 20 Mar 2015 13:24:31 +0900 Subject: [PATCH] evas: fix build failure with old version freetype. Summary: Fix build failure with old version freetype. It is caused for supporting colored font. Reviewers: raster, jpeg, woohyun, Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2200 Change-Id: Id127d393567186b855a99910ff104769f39be4e7 Origin: upstream --- src/lib/evas/include/evas_common_private.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h index 9b2c28b..7d56656 100644 --- a/src/lib/evas/include/evas_common_private.h +++ b/src/lib/evas/include/evas_common_private.h @@ -194,6 +194,14 @@ extern EAPI int _evas_log_dom_global; #include FT_SIZES_H #include FT_MODULE_H +#ifndef FT_HAS_COLOR +# define FT_HAS_COLOR(face) 0 +#endif + +#ifndef FT_LOAD_COLOR +# define FT_LOAD_COLOR FT_LOAD_DEFAULT +#endif + #ifdef __GNUC__ # if __GNUC__ >= 4 // BROKEN in gcc 4 on amd64 -- 2.7.4