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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-03-10 07:20:26 +00:00
parent 2ab6aac74d
commit 8a8924ba79
1 changed files with 11 additions and 6 deletions

View File

@ -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);
"rotate=%u, ",
fbv->rotate);
if (fbv->colorspace)
eina_strbuf_append_n(buf, (const char *)&(fbv->colorspace), 4);
/* 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);