Updated core
[LibreOffice.git] / fontconfig / fontconfig-2.8.0.patch
blob5913cc8449f88668ff3730f04333cb543648ff0b
1 --- misc/build/fontconfig-2.8.0/config.sub
2 +++ misc/build/fontconfig-2.8.0/config.sub
3 @@ -120,7 +120,7 @@
4 # Here we must recognize all the valid KERNEL-OS combinations.
5 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
6 case $maybe_os in
7 - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
8 + nto-qnx* | linux-android* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
9 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
10 storm-chaos* | os2-emx* | rtmk-nova*)
11 os=-$maybe_os
12 @@ -1272,7 +1272,7 @@
13 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
14 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
15 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
16 - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
17 + | -udi* | -android* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
18 | -chorusos* | -chorusrdb* \
19 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
20 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
21 --- misc/build/fontconfig-2.8.0/configure
22 +++ misc/build/fontconfig-2.8.0/configure
23 @@ -8718,7 +8718,7 @@
24 *Sun\ F*) # Sun Fortran 8.3
25 tmp_sharedflag='-G' ;;
26 esac
27 - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
28 + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags -o $lib'
30 if test "x$supports_anon_versioning" = xyes; then
31 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
32 --- misc/build/fontconfig-2.8.0/src/fcxml.c
33 +++ misc/build/fontconfig-2.8.0/src/fcxml.c
34 @@ -1123,6 +1123,7 @@
35 * Have to swap the decimal point to match the current locale
36 * if that locale doesn't use 0x2e
38 +#ifndef __ANDROID__
39 if ((dot = strchr (s, 0x2e)) &&
40 (locale_data = localeconv ()) &&
41 (locale_data->decimal_point[0] != 0x2e ||
42 @@ -1158,6 +1158,7 @@
45 else
46 +#endif
47 v = strtod (s, end);
48 return v;