diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-08-26 17:08:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-08-26 18:53:38 +0200 |
commit | fb3f5fe9360f564e6e4bf6fc819e2be4c2abb5e5 (patch) | |
tree | 7ed647db7f8dfee731b8ba3deb064ce5cc070ef8 /external | |
parent | ff8a9eebfa1b3d8975b735d26bcd5c721b7995ea (diff) |
UBSan needs sk_app::WindowContext RTTI in Library_vcl
...as seen during CppunitTest_basic_scanner:
> DynamicLibraryManagerException: "Failed to load dynamic library: workdir/LinkTarget/CppunitTest/libtest_basic_scanner.so
> instdir/program/libvcllo.so: undefined symbol: _ZTIN6sk_app13WindowContextE"
Change-Id: I7c39d19fda3cdfe51b5ccf117ffe5c6c89863258
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101410
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/skia/make-api-visible.patch.1 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/external/skia/make-api-visible.patch.1 b/external/skia/make-api-visible.patch.1 index bb574b762f5b..6f2cd3b05a6c 100644 --- a/external/skia/make-api-visible.patch.1 +++ b/external/skia/make-api-visible.patch.1 @@ -1,3 +1,18 @@ +--- a/tools/sk_app/WindowContext.h ++++ b/tools/sk_app/WindowContext.h +@@ -17,7 +17,11 @@ + + namespace sk_app { + +-class WindowContext { ++class ++#if defined __clang__ && !defined _MSC_VER ++__attribute__((type_visibility("default"))) ++#endif ++WindowContext { + public: + WindowContext(const DisplayParams&); + diff --git a/tools/sk_app/unix/WindowContextFactory_unix.h b/tools/sk_app/unix/WindowContextFactory_unix.h index 11bd2d2ac2..09c92dc417 100644 --- a/tools/sk_app/unix/WindowContextFactory_unix.h |