termux-packages/packages/fontconfig/fcxml.c.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

26 lines
592 B
Diff

diff -u -r ../fontconfig-2.11.1/src/fcxml.c ./src/fcxml.c
--- ../fontconfig-2.11.1/src/fcxml.c 2014-03-13 08:00:47.000000000 +0100
+++ ./src/fcxml.c 2014-06-26 08:36:09.000000000 +0200
@@ -1314,10 +1314,13 @@
static double
FcStrtod (char *s, char **end)
{
+#ifndef __ANDROID__
struct lconv *locale_data;
char *dot;
+#endif
double v;
+#ifndef __ANDROID__
/*
* Have to swap the decimal point to match the current locale
* if that locale doesn't use 0x2e
@@ -1358,6 +1361,7 @@
}
}
else
+#endif
v = strtod (s, end);
return v;
}