diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-21 16:25:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-21 16:26:13 +0100 |
commit | 15cc77f8d3d1edfd0e8114829bc4b340c3d73b4d (patch) | |
tree | e7406e32b29c44da267e4368f56d6a454ec74421 /external/libetonyek | |
parent | 25e975857780e4fc4c03255cf977ddc82662b2ac (diff) |
external/libetonyek: -fsanitize=enum
e.g., during CppunitTest_writerperfect_impress
Change-Id: Ib9eb7a9ba7c9bad9cc43fbe2132ca315e2f28c0a
Diffstat (limited to 'external/libetonyek')
-rw-r--r-- | external/libetonyek/UnpackedTarball_libetonyek.mk | 1 | ||||
-rw-r--r-- | external/libetonyek/ubsan.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/external/libetonyek/UnpackedTarball_libetonyek.mk b/external/libetonyek/UnpackedTarball_libetonyek.mk index c531894fab08..834bef2bfa32 100644 --- a/external/libetonyek/UnpackedTarball_libetonyek.mk +++ b/external/libetonyek/UnpackedTarball_libetonyek.mk @@ -17,6 +17,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libetonyek,\ external/libetonyek/assert.patch \ external/libetonyek/0001-missing-include.patch.1 \ external/libetonyek/win_build.patch.1 \ + external/libetonyek/ubsan.patch \ )) ifeq ($(COM_GCC_IS_CLANG),TRUE) diff --git a/external/libetonyek/ubsan.patch b/external/libetonyek/ubsan.patch new file mode 100644 index 000000000000..f0ab1475a5fb --- /dev/null +++ b/external/libetonyek/ubsan.patch @@ -0,0 +1,11 @@ +--- src/lib/contexts/IWORKPropertyMapElement.cpp ++++ src/lib/contexts/IWORKPropertyMapElement.cpp +@@ -264,7 +264,7 @@ + + void AlignmentElement::endOfElement() + { +- IWORKAlignment prop; ++ IWORKAlignment prop = IWORK_ALIGNMENT_LEFT; + + if (m_value) + { |