commit 92bd8d8d23980612016f5062053d60a7f0ac59b2
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Thu Sep 14 09:30:58 2017 -0400
try different cc/paint fix
chromium-61.0.3163.79-cc-paint-fpermissive.patch | 12 ------------
chromium-61.0.3163.79-kmaxskip-constexpr.patch | 12 ++++++++++++
chromium.spec | 4 ++--
3 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/chromium-61.0.3163.79-kmaxskip-constexpr.patch
b/chromium-61.0.3163.79-kmaxskip-constexpr.patch
new file mode 100644
index 0000000..fab1f1c
--- /dev/null
+++ b/chromium-61.0.3163.79-kmaxskip-constexpr.patch
@@ -0,0 +1,12 @@
+diff -up chromium-61.0.3163.79/cc/paint/paint_op_buffer.cc.kmaxskip
chromium-61.0.3163.79/cc/paint/paint_op_buffer.cc
+--- chromium-61.0.3163.79/cc/paint/paint_op_buffer.cc.kmaxskip 2017-09-14
09:28:18.594875170 -0400
++++ chromium-61.0.3163.79/cc/paint/paint_op_buffer.cc 2017-09-14 09:29:37.266072373
-0400
+@@ -207,7 +207,7 @@ TYPES(M);
+ #undef TYPES
+
+ SkRect PaintOp::kUnsetRect = {SK_ScalarInfinity, 0, 0, 0};
+-const size_t PaintOp::kMaxSkip;
++constexpr size_t PaintOp::kMaxSkip;
+
+ std::string PaintOpTypeToString(PaintOpType type) {
+ switch (type) {
diff --git a/chromium.spec b/chromium.spec
index 110504d..2c10707 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -190,7 +190,7 @@ Patch43: chromium-60.0.3112.78-jpeg-nomangle.patch
# Do not mangle zlib
Patch45: chromium-60.0.3112.78-no-zlib-mangle.patch
# Apply these changes to work around EPEL7 compiler issues
-Patch46: chromium-61.0.3163.79-cc-paint-fpermissive.patch
+Patch46: chromium-61.0.3163.79-kmaxskip-constexpr.patch
Patch47: chromium-60.0.3112.90-vulkan-force-c99.patch
#
https://chromium.googlesource.com/chromium/src/+/9c77470ff34bac937ceb765a...
Patch48: chromium-60.0.3112.101-camfix.patch
@@ -654,7 +654,7 @@ udev.
%patch43 -p1 -b .nomangle
%patch45 -p1 -b .nozmangle
%if 0%{?rhel} == 7
-%patch46 -p1 -b .fpermissive
+%patch46 -p1 -b .kmaxskip
%patch47 -p1 -b .c99
%endif
%patch48 -p1 -b .camfix