From 6acbfdaae190a5387f7ec0012867c0fd35135407 Mon Sep 17 00:00:00 2001 From: Eloston Date: Sun, 18 Feb 2018 07:24:21 +0000 Subject: [PATCH] Add fix-icu-tangut.patch --- .../config_bundles/linux_rooted/patch_order.list | 1 + .../ungoogled-chromium/linux/fix-icu-tangut.patch | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 resources/patches/ungoogled-chromium/linux/fix-icu-tangut.patch diff --git a/resources/config_bundles/linux_rooted/patch_order.list b/resources/config_bundles/linux_rooted/patch_order.list index 4b4ec243..b27b8c87 100644 --- a/resources/config_bundles/linux_rooted/patch_order.list +++ b/resources/config_bundles/linux_rooted/patch_order.list @@ -13,3 +13,4 @@ debian/system/event.patch opensuse/fix-kernel-user-namespace-crash.patch ungoogled-chromium/linux/disable-ffmpeg-av1-codec.patch +ungoogled-chromium/linux/fix-icu-tangut.patch diff --git a/resources/patches/ungoogled-chromium/linux/fix-icu-tangut.patch b/resources/patches/ungoogled-chromium/linux/fix-icu-tangut.patch new file mode 100644 index 00000000..ddae32d9 --- /dev/null +++ b/resources/patches/ungoogled-chromium/linux/fix-icu-tangut.patch @@ -0,0 +1,14 @@ +# Remove references to Tangut Unicode Block constants +# This fixes building with older system icu libraries + +--- a/third_party/WebKit/Source/platform/text/Character.cpp ++++ b/third_party/WebKit/Source/platform/text/Character.cpp +@@ -227,8 +227,6 @@ bool Character::CanTextDecorationSkipInk + case UBLOCK_HANGUL_JAMO_EXTENDED_A: + case UBLOCK_HANGUL_JAMO_EXTENDED_B: + case UBLOCK_LINEAR_B_IDEOGRAMS: +- case UBLOCK_TANGUT: +- case UBLOCK_TANGUT_COMPONENTS: + return false; + default: + return true;