[cairo-bugs] [Bug 76512] New: Cairo won't compile on Android NDK

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 23 08:11:23 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76512

          Priority: medium
            Bug ID: 76512
          Assignee: chris at chris-wilson.co.uk
           Summary: Cairo won't compile on Android NDK
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: tal.liron at gmail.com
          Hardware: Other
            Status: NEW
           Version: 1.12.16
         Component: general
           Product: cairo

This is due to Android's imperfect support of Posix localization.

It's easy to fix, though, with a simple patch for "cairo-output-stream.c", in
function "_cairo_dtostr":

#ifndef __ANDROID__
struct lconv *locale_data;
#endif

...

#ifndef __ANDROID__
locale_data = localeconv ();
decimal_point = locale_data->decimal_point;
#else
decimal_point = ".";
#endif

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140323/373d0196/attachment.html>


More information about the cairo-bugs mailing list