evas-fb: Fix broken build of efl
authorChris Michael <cp.michael@samsung.com>
Mon, 10 Mar 2014 07:20:26 +0000 (07:20 +0000)
committerChris Michael <cp.michael@samsung.com>
Mon, 10 Mar 2014 07:20:26 +0000 (07:20 +0000)
@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>
src/modules/evas/engines/fb/evas_fb_main.c

index b93e440..de6f65a 100644 (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);
-
-   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);