summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/pixman-export.patch
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /gfx/cairo/pixman-export.patch
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'gfx/cairo/pixman-export.patch')
-rw-r--r--gfx/cairo/pixman-export.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/gfx/cairo/pixman-export.patch b/gfx/cairo/pixman-export.patch
new file mode 100644
index 000000000..78ca8c669
--- /dev/null
+++ b/gfx/cairo/pixman-export.patch
@@ -0,0 +1,37 @@
+diff --git a/gfx/cairo/libpixman/src/pixman-compiler.h b/gfx/cairo/libpixman/src/pixman-compiler.h
+--- a/gfx/cairo/libpixman/src/pixman-compiler.h
++++ b/gfx/cairo/libpixman/src/pixman-compiler.h
+@@ -59,26 +59,33 @@
+ # ifndef force_inline
+ # define force_inline inline
+ # endif
+ # ifndef noinline
+ # define noinline
+ # endif
+ #endif
+
++/* In libxul builds we don't ever want to export pixman symbols */
++#if 1
++# define PIXMAN_EXPORT cairo_public
++#else
++
+ /* GCC visibility */
+ #if defined(__GNUC__) && __GNUC__ >= 4 && !defined(_WIN32)
+ # define PIXMAN_EXPORT __attribute__ ((visibility("default")))
+ /* Sun Studio 8 visibility */
+ #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
+ # define PIXMAN_EXPORT __global
+ #else
+ # define PIXMAN_EXPORT
+ #endif
+
++#endif
++
+ /* TLS */
+ #if defined(PIXMAN_NO_TLS)
+
+ # define PIXMAN_DEFINE_THREAD_LOCAL(type, name) \
+ static type name
+ # define PIXMAN_GET_THREAD_LOCAL(name) \
+ (&name)
+