[Libreoffice-commits] core.git: external/cairo

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Fri Jan 15 16:20:02 PST 2016


 external/cairo/cairo/cairo-1.10.2.android.patch |   11 +++++++++++
 1 file changed, 11 insertions(+)

New commits:
commit eed4cc7933b2a46f421bb469652b85a58831b3c3
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Sat Jan 16 01:16:08 2016 +0100

    android x86 doesn't define ffs in libc, use compiler builtin instead
    
    Change-Id: Ifde1184e469fc9a74de007a0caf27750b2ffbcbb

diff --git a/external/cairo/cairo/cairo-1.10.2.android.patch b/external/cairo/cairo/cairo-1.10.2.android.patch
index e894063..237a0d4 100644
--- a/external/cairo/cairo/cairo-1.10.2.android.patch
+++ b/external/cairo/cairo/cairo-1.10.2.android.patch
@@ -11,3 +11,14 @@
  	# Parse the version information argument.
  	save_ifs="$IFS"; IFS=':'
  	set dummy $vinfo 0 0 0
+diff -ur cairo.org/src/cairo-compiler-private.h cairo/src/cairo-compiler-private.h
+--- a/cairo.org/src/cairo-compiler-private.h	2016-01-16 00:47:17.392420675 +0100
++++ b/cairo/src/cairo-compiler-private.h	2016-01-16 00:51:55.601110129 +0100
+@@ -258,4 +258,7 @@
+ #define inline __inline__
+ #endif
+ 
++/* no ffs in libc on android x86 (at least not in v15 that we compile against) */
++#define ffs __builtin_ffs
++
+ #endif


More information about the Libreoffice-commits mailing list