diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-10-10 13:14:58 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-10-10 13:15:22 +0200 |
commit | cdccf09cb37bce1cdb93797ab54ce474d0fff0b3 (patch) | |
tree | 702d045c4fef44cdbe70b4da5e6d76740f8e130a /www-client | |
parent | app-doc/devmanual: Depend on htmltidy for tests (diff) | |
download | gentoo-cdccf09cb37bce1cdb93797ab54ce474d0fff0b3.tar.gz gentoo-cdccf09cb37bce1cdb93797ab54ce474d0fff0b3.tar.bz2 gentoo-cdccf09cb37bce1cdb93797ab54ce474d0fff0b3.zip |
www-client/chromium: fix building with harfbuzz-3 (M95)
Bug: https://bugs.gentoo.org/813705
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium/chromium-95.0.4638.40.ebuild | 1 | ||||
-rw-r--r-- | www-client/chromium/files/chromium-95-harfbuzz-3.patch | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/www-client/chromium/chromium-95.0.4638.40.ebuild b/www-client/chromium/chromium-95.0.4638.40.ebuild index 5053fd82ccce..377ba36b7e97 100644 --- a/www-client/chromium/chromium-95.0.4638.40.ebuild +++ b/www-client/chromium/chromium-95.0.4638.40.ebuild @@ -237,6 +237,7 @@ src_prepare() { "${FILESDIR}/chromium-95-eigen-avx-1.patch" "${FILESDIR}/chromium-95-eigen-avx-2.patch" "${FILESDIR}/chromium-95-eigen-avx-3.patch" + "${FILESDIR}/chromium-95-harfbuzz-3.patch" "${FILESDIR}/chromium-use-oauth2-client-switches-as-default.patch" "${FILESDIR}/chromium-shim_headers.patch" ) diff --git a/www-client/chromium/files/chromium-95-harfbuzz-3.patch b/www-client/chromium/files/chromium-95-harfbuzz-3.patch new file mode 100644 index 000000000000..33fe9556aaf3 --- /dev/null +++ b/www-client/chromium/files/chromium-95-harfbuzz-3.patch @@ -0,0 +1,31 @@ +From 9e00e702633c47c590a869bc66b5c2ceec09da50 Mon Sep 17 00:00:00 2001 +From: Dominik Röttsches <drott@chromium.org> +Date: Tue, 28 Sep 2021 15:31:50 +0000 +Subject: [PATCH] Roll src/third_party/harfbuzz-ng/src/ 6602cbb70..a52c6df38 (80 commits) + +Fixed: 1252284 +Change-Id: Ie2ff99da5e41ca97b8881e1bd3e158881f4d5a8e +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3190252 +Commit-Queue: Dominik Röttsches <drott@chromium.org> +Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org> +Auto-Submit: Dominik Röttsches <drott@chromium.org> +Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org> +Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> +Cr-Commit-Position: refs/heads/main@{#925776} + +(only components/paint_preview/common/subset_font.cc) +--- + +diff --git a/components/paint_preview/common/subset_font.cc b/components/paint_preview/common/subset_font.cc +index 45daea7b1..43a448e 100644 +--- a/components/paint_preview/common/subset_font.cc ++++ b/components/paint_preview/common/subset_font.cc +@@ -79,7 +79,7 @@ + // Retain all variation information for OpenType variation fonts. See: + // https://docs.microsoft.com/en-us/typography/opentype/spec/otvaroverview + hb_set_t* skip_subset = +- hb_subset_input_no_subset_tables_set(input.get()); // Owned by |input|. ++ hb_subset_input_set(input.get(), HB_SUBSET_SETS_NO_SUBSET_TABLE_TAG); + hb_set_add(skip_subset, HB_TAG('a', 'v', 'a', 'r')); + hb_set_add(skip_subset, HB_TAG('c', 'v', 'a', 'r')); + hb_set_add(skip_subset, HB_TAG('f', 'v', 'a', 'r')); |