From: Chris Michael Date: Mon, 10 Mar 2014 07:20:26 +0000 (+0000) Subject: evas-fb: Fix broken build of efl X-Git-Tag: v1.9.0+464+gcaabcbe~226 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a8924ba7988d554a19ec3a2e7eccbf7bfee5c60;p=platform%2Fupstream%2Fefl.git evas-fb: Fix broken build of efl @bugfix: structure fb_var_screeninfo does not have a colorspace field defined in linux/fb.h, so (for now) comment out code which was referencing that field. Not sure what the intent was here, but build was broken because of this. Signed-off-by: Chris Michael --- diff --git a/src/modules/evas/engines/fb/evas_fb_main.c b/src/modules/evas/engines/fb/evas_fb_main.c index b93e440..de6f65a 100644 --- a/src/modules/evas/engines/fb/evas_fb_main.c +++ b/src/modules/evas/engines/fb/evas_fb_main.c @@ -242,13 +242,18 @@ fb_var_str_convert(const struct fb_var_screeninfo *fbv) eina_strbuf_append_printf(buf, ", " - "rotate=%u, " - "colorspace=%u", - fbv->rotate, - fbv->colorspace); - - if (fbv->colorspace) - eina_strbuf_append_n(buf, (const char *)&(fbv->colorspace), 4); + "rotate=%u, ", + fbv->rotate); + + /* eina_strbuf_append_printf(buf, */ + /* ", " */ + /* "rotate=%u, " */ + /* "colorspace=%u", */ + /* fbv->rotate, */ + /* fbv->colorspace); */ + + /* if (fbv->colorspace) */ + /* eina_strbuf_append_n(buf, (const char *)&(fbv->colorspace), 4); */ ret = eina_strbuf_string_steal(buf); eina_strbuf_free(buf);