commit bcf969290151ad238bb92f8fd737abf36db1b9cd
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Wed Sep 13 13:27:32 2017 -0400
use fpermissive on cc/paint
chromium-61.0.3163.79-cc-paint-fpermissive.patch | 12 ++++++++++++
chromium.spec | 2 ++
2 files changed, 14 insertions(+)
---
diff --git a/chromium-61.0.3163.79-cc-paint-fpermissive.patch
b/chromium-61.0.3163.79-cc-paint-fpermissive.patch
new file mode 100644
index 0000000..495c45a
--- /dev/null
+++ b/chromium-61.0.3163.79-cc-paint-fpermissive.patch
@@ -0,0 +1,12 @@
+diff -up chromium-61.0.3163.79/cc/paint/BUILD.gn.epel7
chromium-61.0.3163.79/cc/paint/BUILD.gn
+--- chromium-61.0.3163.79/cc/paint/BUILD.gn.epel7 2017-09-13 13:21:07.743006338 -0400
++++ chromium-61.0.3163.79/cc/paint/BUILD.gn 2017-09-13 13:25:43.091933209 -0400
+@@ -41,6 +41,8 @@ cc_component("paint") {
+ "solid_color_analyzer.h",
+ ]
+
++ cflags = [ "-fpermissive" ]
++
+ defines = [ "CC_PAINT_IMPLEMENTATION=1" ]
+
+ # cc/paint is intended to be a separate component from cc that can be
diff --git a/chromium.spec b/chromium.spec
index ce26436..110504d 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -190,6 +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
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
@@ -653,6 +654,7 @@ udev.
%patch43 -p1 -b .nomangle
%patch45 -p1 -b .nozmangle
%if 0%{?rhel} == 7
+%patch46 -p1 -b .fpermissive
%patch47 -p1 -b .c99
%endif
%patch48 -p1 -b .camfix