bump product version to 4.1.6.2
[LibreOffice.git] / libxml2 / libxml2-android.patch
blob06d5e57ad31ddfe222d57ccbd53bbc289f92b6c1
1 --- misc/libxml2-2.7.6/ltmain.sh
2 +++ misc/build/libxml2-2.7.6/ltmain.sh
3 @@ -3228,6 +3228,12 @@
4 func_warning "\`-release' is ignored for convenience libraries"
5 else
7 + # Force no versioning suffix for Android thanks to silly
8 + # apkbuilder which doesn't add extra native libs unless their
9 + # name ends with .so
11 + version_type=none
13 # Parse the version information argument.
14 save_ifs="$IFS"; IFS=':'
15 set dummy $vinfo 0 0 0
16 --- misc/libxml2-2.7.6/trionan.c
17 +++ misc/build/libxml2-2.7.6/trionan.c
18 @@ -327,7 +327,7 @@
20 if (result == 0.0) {
22 -#if defined(TRIO_COMPILER_SUPPORTS_C99)
23 +#if defined(TRIO_COMPILER_SUPPORTS_C99) && !(defined(__ANDROID__) && defined(__clang__))
24 result = nan("");
26 #elif defined(NAN) && defined(__STDC_IEC_559__)