Another export and alignas gcc compilation fix

This commit is contained in:
Tomas Popela 2019-09-13 22:05:31 +02:00
parent 63945f4efd
commit 8ed36c4625
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -up chromium-77.0.3865.75/base/task/promise/dependent_list.h.base-gcc-no-alignas chromium-77.0.3865.75/base/task/promise/dependent_list.h
--- chromium-77.0.3865.75/base/task/promise/dependent_list.h.base-gcc-no-alignas 2019-09-13 21:45:51.873172347 +0200
+++ chromium-77.0.3865.75/base/task/promise/dependent_list.h 2019-09-13 21:46:21.661522514 +0200
@@ -59,7 +59,7 @@ class BASE_EXPORT DependentList {
// Align Node on an 8-byte boundary to ensure the first 3 bits are 0 and can
// be used to store additional state (see static_asserts below).
- class BASE_EXPORT alignas(8) Node {
+ class BASE_EXPORT ALIGNAS(8) Node {
public:
Node();
explicit Node(Node&& other) noexcept;

View File

@ -279,6 +279,8 @@ Patch64: chromium-77.0.3865.75-certificate-transparency.patch
Patch65: chromium-77.0.3865.75-unbundle-zlib.patch
# Needs to be submitted..
Patch66: chromium-77.0.3865.75-gcc-include-memory.patch
# Needs to be submitted..
Patch67: chromium-77.0.3865.75-base-gcc-no-alignas.patch
# Apply these changes to work around EPEL7 compiler issues
Patch100: chromium-62.0.3202.62-kmaxskip-constexpr.patch
@ -846,6 +848,7 @@ udev.
%patch64 -p1 -b .certificate-transparency
%patch65 -p1 -b .unbundle-zlib
%patch66 -p1 -b .gcc-include-memory
%patch67 -p1 -b .base-gcc-no-alignas
# EPEL specific patches
%if 0%{?rhel} == 7