summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-72.0.3626.96/empty-array.patch
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2019-02-24 22:49:16 -0700
committerKenny Ballou <kballou@devnulllabs.io>2019-02-26 22:13:37 -0700
commit59201188169f51645159ebb2cf0cd52619915c16 (patch)
treee79e696139305b3e89b8ed8101ded2cbe599394e /patches/www-client/chromium-72.0.3626.96/empty-array.patch
parent1c74e95fd91718007da08ce6e7d80e608461119d (diff)
downloadgentoo.patches-59201188169f51645159ebb2cf0cd52619915c16.tar.gz
gentoo.patches-59201188169f51645159ebb2cf0cd52619915c16.tar.xz
Add chromium-72 patches from debian project
Collect a number of patches, specifically, `fixes` and `gcc6` patches for compiling chromium-72. [0]: https://salsa.debian.org/chromium-team/chromium/tree/master/debian/patches Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'patches/www-client/chromium-72.0.3626.96/empty-array.patch')
-rw-r--r--patches/www-client/chromium-72.0.3626.96/empty-array.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/www-client/chromium-72.0.3626.96/empty-array.patch b/patches/www-client/chromium-72.0.3626.96/empty-array.patch
new file mode 100644
index 0000000..5a68026
--- /dev/null
+++ b/patches/www-client/chromium-72.0.3626.96/empty-array.patch
@@ -0,0 +1,18 @@
+description: arraysize macro fails for zero length array, add one character
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/third_party/blink/renderer/platform/text/character_property_data.h
++++ b/third_party/blink/renderer/platform/text/character_property_data.h
+@@ -244,10 +244,10 @@ static const UChar32 kIsHangulRanges[] =
+ 0xD7B0, 0xD7FF,
+ // Halfwidth Hangul Jamo
+ // https://www.unicode.org/charts/nameslist/c_FF00.html
+- 0xFFA0, 0xFFDC,
++ 0xFFA0, 0xFFDB,
+ };
+
+-static const UChar32 kIsHangulArray[] = {};
++static const UChar32 kIsHangulArray[] = {0xFFDC};
+
+ #if !defined(USING_SYSTEM_ICU)
+ // Freezed trie tree, see character_property_data_generator.cc.