[Fontconfig-bugs] [Bug 95481] New: Build fails on Android due to broken lconv struct

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 19 02:44:06 UTC 2016


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

            Bug ID: 95481
           Summary: Build fails on Android due to broken lconv struct
           Product: fontconfig
           Version: 2.11
          Hardware: All
                OS: other
            Status: NEW
          Severity: major
          Priority: medium
         Component: library
          Assignee: fontconfig-bugs at lists.freedesktop.org
          Reporter: rodger.combs at gmail.com
        QA Contact: freedesktop at behdad.org

This breaks FcStrtod. I'd suggest one of two solutions:
1. Remove the locale check and rely on the fontconfig-provided strtod
implementation in all cases, rather than using the libc one only if the
decimal_point is ".". This seems preferable in general, as it prevents behavior
from potentially differing based on locale.
2. Add a configure check for a working lconv struct containing a decimal_point
field, and #ifdef out the check if it's not present. This maintains current
behavior on locales where the decimal point is ".", but adds complexity, and
any case where it causes problems would cause the same problems in other
locales anyway.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20160519/cbf6e7b4/attachment.html>


More information about the Fontconfig-bugs mailing list