1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/cairo/pixman-export.patch Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +diff --git a/gfx/cairo/libpixman/src/pixman-compiler.h b/gfx/cairo/libpixman/src/pixman-compiler.h 1.5 +--- a/gfx/cairo/libpixman/src/pixman-compiler.h 1.6 ++++ b/gfx/cairo/libpixman/src/pixman-compiler.h 1.7 +@@ -59,26 +59,33 @@ 1.8 + # ifndef force_inline 1.9 + # define force_inline inline 1.10 + # endif 1.11 + # ifndef noinline 1.12 + # define noinline 1.13 + # endif 1.14 + #endif 1.15 + 1.16 ++/* In libxul builds we don't ever want to export pixman symbols */ 1.17 ++#if 1 1.18 ++# define PIXMAN_EXPORT cairo_public 1.19 ++#else 1.20 ++ 1.21 + /* GCC visibility */ 1.22 + #if defined(__GNUC__) && __GNUC__ >= 4 && !defined(_WIN32) 1.23 + # define PIXMAN_EXPORT __attribute__ ((visibility("default"))) 1.24 + /* Sun Studio 8 visibility */ 1.25 + #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) 1.26 + # define PIXMAN_EXPORT __global 1.27 + #else 1.28 + # define PIXMAN_EXPORT 1.29 + #endif 1.30 + 1.31 ++#endif 1.32 ++ 1.33 + /* TLS */ 1.34 + #if defined(PIXMAN_NO_TLS) 1.35 + 1.36 + # define PIXMAN_DEFINE_THREAD_LOCAL(type, name) \ 1.37 + static type name 1.38 + # define PIXMAN_GET_THREAD_LOCAL(name) \ 1.39 + (&name) 1.40 +