diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /gfx/cairo/pixman-export.patch | |
parent | Initial commit. (diff) | |
download | firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/cairo/pixman-export.patch')
-rw-r--r-- | gfx/cairo/pixman-export.patch | 37 |
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 0000000000..78ca8c6696 --- /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) + |