summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <stha09@googlemail.com>2020-07-18 12:22:39 +0200
committerMike Gilbert <floppym@gentoo.org>2020-07-18 09:36:24 -0400
commitbb66b22fbade7c75db6fcecda87e9ebbc8225629 (patch)
tree378d828ed3743c27fe18d15b4d0e7b95cd110625 /www-client/chromium/files/chromium-83-gcc-compatibility.patch
parentdev-util/gn: remove old (diff)
downloadgentoo-bb66b22fbade7c75db6fcecda87e9ebbc8225629.tar.gz
gentoo-bb66b22fbade7c75db6fcecda87e9ebbc8225629.tar.bz2
gentoo-bb66b22fbade7c75db6fcecda87e9ebbc8225629.zip
www-client/chromium: security cleanup
Bug: https://bugs.gentoo.org/732588 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Stephan Hartmann <stha09@googlemail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/16737
Diffstat (limited to 'www-client/chromium/files/chromium-83-gcc-compatibility.patch')
-rw-r--r--www-client/chromium/files/chromium-83-gcc-compatibility.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/www-client/chromium/files/chromium-83-gcc-compatibility.patch b/www-client/chromium/files/chromium-83-gcc-compatibility.patch
deleted file mode 100644
index 09508ea50b1b..000000000000
--- a/www-client/chromium/files/chromium-83-gcc-compatibility.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 55ce03222ee4c5ed2442278264028f6fb5bffa34 Mon Sep 17 00:00:00 2001
-From: David Seifert <david.seifert@gmail.com>
-Date: Sun, 03 May 2020 17:05:43 +0200
-Subject: [PATCH] Add compatibility workaround for GCC 6/7/8
-
-Bug: 819294
-Change-Id: I632c4ecf7d7f9876b37a6cff05c0408125656257
----
-
-diff --git a/third_party/blink/renderer/platform/wtf/hash_table.h b/third_party/blink/renderer/platform/wtf/hash_table.h
-index 5a4468d..9dc95fa 100644
---- a/third_party/blink/renderer/platform/wtf/hash_table.h
-+++ b/third_party/blink/renderer/platform/wtf/hash_table.h
-@@ -673,7 +673,10 @@
- return IsEmptyBucket(key) || IsDeletedBucket(key);
- }
- static bool IsEmptyOrDeletedBucketSafe(const Value& value) {
-- alignas(std::max(alignof(Key), sizeof(size_t))) char buf[sizeof(Key)];
-+ // GCC 6, 7 and 8 require this indirection due to a constexpr bug:
-+ // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929
-+ constexpr size_t kAlignment = std::max(alignof(Key), sizeof(size_t));
-+ alignas(kAlignment) char buf[sizeof(Key)];
- const Key& key = Extractor::ExtractSafe(value, &buf);
- return IsEmptyBucket(key) || IsDeletedBucket(key);
- }