diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-26 15:07:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-26 15:17:30 +0100 |
commit | 6f762e3a26be0dae8ad65f46a4a4b7193a494242 (patch) | |
tree | eb1c1db17ae8842077c14317723e819fce27f81f /external/libodfgen | |
parent | external/icu: Visible function type RTTI for Clang -fsanitize=function (diff) | |
download | core-6f762e3a26be0dae8ad65f46a4a4b7193a494242.tar.gz core-6f762e3a26be0dae8ad65f46a4a4b7193a494242.zip |
external/libodfgen: Visible function type RTTI for Clang -fsanitize=function
Change-Id: I32c115aa46855375cc28402f21f4f63299e165d4
Diffstat (limited to 'external/libodfgen')
-rw-r--r-- | external/libodfgen/UnpackedTarball_libodfgen.mk | 1 | ||||
-rw-r--r-- | external/libodfgen/rtti.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/external/libodfgen/UnpackedTarball_libodfgen.mk b/external/libodfgen/UnpackedTarball_libodfgen.mk index 04f5149ec58b..965a278b8230 100644 --- a/external/libodfgen/UnpackedTarball_libodfgen.mk +++ b/external/libodfgen/UnpackedTarball_libodfgen.mk @@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libodfgen,0)) $(eval $(call gb_UnpackedTarball_add_patches,libodfgen, \ external/libodfgen/missing-ifdef.patch \ + external/libodfgen/rtti.patch \ )) # vim: set noet sw=4 ts=4: diff --git a/external/libodfgen/rtti.patch b/external/libodfgen/rtti.patch new file mode 100644 index 000000000000..2de9e947c6a6 --- /dev/null +++ b/external/libodfgen/rtti.patch @@ -0,0 +1,11 @@ +--- inc/libodfgen/OdfDocumentHandler.hxx ++++ inc/libodfgen/OdfDocumentHandler.hxx +@@ -32,7 +32,7 @@ + * + * @sa OdgGenerator, OdpGenerator, OdtGenerator + */ +-enum OdfStreamType { ODF_FLAT_XML, ODF_CONTENT_XML, ODF_STYLES_XML, ODF_SETTINGS_XML, ODF_META_XML, ODF_MANIFEST_XML }; ++enum ODFGENAPI OdfStreamType { ODF_FLAT_XML, ODF_CONTENT_XML, ODF_STYLES_XML, ODF_SETTINGS_XML, ODF_META_XML, ODF_MANIFEST_XML }; + + class OdfDocumentHandler; + |