diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-07-19 20:40:14 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-07-20 18:05:43 +0200 |
commit | ed29da546754d0d11aa0cffd4dfe649cc95df722 (patch) | |
tree | 1d3db9d36c8ae4c9a4298462de49827fa6caa475 /external | |
parent | 6128e2d55f0d0c68d3c7f6fb69539ec800637947 (diff) |
tdf#143429: update harfbuzz to 2.8.2 version
Change-Id: I263dc6da5be3ea55205076a1f4e263fe5bba31fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119232
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'external')
-rw-r--r-- | external/harfbuzz/UnpackedTarball_harfbuzz.mk | 12 | ||||
-rw-r--r-- | external/harfbuzz/Wunused-but-set-variable.patch | 12 | ||||
-rw-r--r-- | external/harfbuzz/icu-65-api-macros-with-semicolon.patch.1 | 12 | ||||
-rw-r--r-- | external/harfbuzz/ubsan.patch | 20 |
4 files changed, 0 insertions, 56 deletions
diff --git a/external/harfbuzz/UnpackedTarball_harfbuzz.mk b/external/harfbuzz/UnpackedTarball_harfbuzz.mk index cff8d91369e2..a99f116d80ad 100644 --- a/external/harfbuzz/UnpackedTarball_harfbuzz.mk +++ b/external/harfbuzz/UnpackedTarball_harfbuzz.mk @@ -15,16 +15,4 @@ $(eval $(call gb_UnpackedTarball_update_autoconf_configs,harfbuzz)) $(eval $(call gb_UnpackedTarball_set_patchlevel,harfbuzz,0)) -# icu-65-api-macros-with-semicolon.patch.1 -# See http://site.icu-project.org/download/65 Migration Issues -# Wunused-but-set-variable.patch -# Independently fixed upstream in a similar way with -# <https://github.com/harfbuzz/harfbuzz/commit/d6a83abd6a0c684bd9a27f593d5be388819022b7> "Define -# HB_UNUSED for clang" -$(eval $(call gb_UnpackedTarball_add_patches,harfbuzz, \ - external/harfbuzz/ubsan.patch \ - external/harfbuzz/icu-65-api-macros-with-semicolon.patch.1 \ - external/harfbuzz/Wunused-but-set-variable.patch \ -)) - # vim: set noet sw=4 ts=4: diff --git a/external/harfbuzz/Wunused-but-set-variable.patch b/external/harfbuzz/Wunused-but-set-variable.patch deleted file mode 100644 index 2150c737e489..000000000000 --- a/external/harfbuzz/Wunused-but-set-variable.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- src/hb.hh -+++ src/hb.hh -@@ -242,7 +242,7 @@ - #define HB_CONST_FUNC - #define HB_PRINTF_FUNC(format_idx, arg_idx) - #endif --#if defined(__GNUC__) && (__GNUC__ >= 4) -+#if defined(__GNUC__) && (__GNUC__ >= 4) || defined __clang__ - #define HB_UNUSED __attribute__((unused)) - #elif defined(_MSC_VER) /* https://github.com/harfbuzz/harfbuzz/issues/635 */ - #define HB_UNUSED __pragma(warning(suppress: 4100 4101)) - diff --git a/external/harfbuzz/icu-65-api-macros-with-semicolon.patch.1 b/external/harfbuzz/icu-65-api-macros-with-semicolon.patch.1 deleted file mode 100644 index 55344bc632ba..000000000000 --- a/external/harfbuzz/icu-65-api-macros-with-semicolon.patch.1 +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur harfbuzz.org/src/hb-icu.cc harfbuzz/src/hb-icu.cc ---- harfbuzz.org/src/hb-icu.cc 2019-06-26 22:30:55.000000000 +0200 -+++ harfbuzz/src/hb-icu.cc 2019-10-28 23:21:42.198460246 +0100 -@@ -53,7 +53,7 @@ - - /* ICU doesn't do-while(0) around their statements. Ugh! - * https://unicode-org.atlassian.net/browse/CLDR-13027 */ --#define HB_ICU_STMT(S) do { S } while (0) -+#define HB_ICU_STMT(S) do { S; } while (0) - - hb_script_t - hb_icu_script_to_script (UScriptCode script) diff --git a/external/harfbuzz/ubsan.patch b/external/harfbuzz/ubsan.patch deleted file mode 100644 index a9d1b72ef1a2..000000000000 --- a/external/harfbuzz/ubsan.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/hb-ot-layout-gsubgpos.hh -+++ src/hb-ot-layout-gsubgpos.hh -@@ -387,7 +387,7 @@ - skip == matcher_t::SKIP_NO)) - { - num_items--; -- match_glyph_data++; -+ if (match_glyph_data != nullptr) match_glyph_data++; - return true; - } - -@@ -414,7 +414,7 @@ - skip == matcher_t::SKIP_NO)) - { - num_items--; -- match_glyph_data++; -+ if (match_glyph_data != nullptr) match_glyph_data++; - return true; - } - |