[chromium-freeworld/f27] (10 commits) ...Merge Fedora, chromium-61.0.3163.100-1
by Miro Hrončok
Summary of changes:
f43b0ab... drop unnecessary patch for epel7 (*)
bcf9692... use fpermissive on cc/paint (*)
92bd8d8... try different cc/paint fix (*)
c00dedb... more epel gcc fixes (*)
5ff888b... will it never stop? (*)
a0a687b... ugly hack to make epel7 build. maybe (*)
1144ae5... i think this will build (*)
79d8235... 61.0.3163.100 and lots of epel7 fixes (*)
fac5ada... uploaded sources this time (*)
15c88e2... Merge Fedora, chromium-61.0.3163.100-1 (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 2 months
[chromium-freeworld: 10/10] Merge Fedora, chromium-61.0.3163.100-1
by Miro Hrončok
commit 15c88e20c372bb4eccd5a8f392a56a3058eacfda
Merge: 73bc035 fac5ada
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Mon Sep 25 15:48:53 2017 +0200
Merge Fedora, chromium-61.0.3163.100-1
.gitignore | 1 +
chromium-61.0.3163.79-dde535-gcc-fix.patch | 14 +++++++++
...-epel7-no-nullptr-assignment-on-StructPtr.patch | 12 ++++++++
chromium-61.0.3163.79-gcc-nc.patch | 12 ++++++++
chromium-61.0.3163.79-kmaxskip-constexpr.patch | 12 ++++++++
chromium-61.0.3163.79-rvalue-fix.patch | 36 ++++++++++++++++++++++
chromium-61.0.3163.79-uglyhack.patch | 12 ++++++++
chromium-freeworld.spec | 36 +++++++++++++++++++---
sources | 2 +-
9 files changed, 132 insertions(+), 5 deletions(-)
---
diff --cc .gitignore
index 4c5d129,33c625a..8104a3f
--- a/.gitignore
+++ b/.gitignore
@@@ -27,7 -27,7 +27,8 @@@
/chromium-59.0.3071.109-freetype.tar.bz2
/chromium-60.0.3112.90-clean.tar.xz
/chromium-60.0.3112.101-clean.tar.xz
-/chromium-60.0.3112.113-clean.tar.xz
+/chromium-60.0.3112.101.tar.xz
/chromium-60.0.3112.113.tar.xz
/chromium-61.0.3163.79-clean.tar.xz
-/chromium-61.0.3163.100-clean.tar.xz
+/chromium-61.0.3163.79.tar.xz
++/chromium-61.0.3163.100.tar.xz
diff --cc sources
index 02e889e,ae3c95c..abadc07
--- a/sources
+++ b/sources
@@@ -1,3 -1,3 +1,3 @@@
-SHA512 (depot_tools.git-master.tar.gz) = d3d6a1873b2b0296a8cd99e0d8d2e629a17b1808934b4972556168f8b4ccea60577ebaeab4445baf15afb1b04080808db59a832a5b61d247bd48da14fa6acf03
-SHA512 (policy_templates.zip) = 39e9ccbeda8499acb81e5455e34ece44e72f065d139e718b38803c907b4ecca9f179f2eb84b10953a307087ed9586a5de30bbfb933eb9f6b77a682ea82164be7
-SHA512 (chromium-61.0.3163.100-clean.tar.xz) = 985a2d86f43e59252343fa3a5ee56b0462259ef67afd4c43fd9ee3abd9eec34292b7437d416513cccc29a9de9a10879d91ccb5328e7702a1888b5880eb27c809
+c7d145925a03f37e1a9abdc7e73cc388 policy_templates.zip
+49a7f897775cce21d2b69968b8af1cea depot_tools.git-master.tar.gz
- 4265aebeaeb31b88327e1b48dc580851 chromium-61.0.3163.79.tar.xz
++bf0629c03b3e3b957a9ee99c10b28210 chromium-61.0.3163.100.tar.xz
7 years, 2 months
[chromium-freeworld: 9/10] uploaded sources this time
by Miro Hrončok
commit fac5adaa62ed571066fcf5283734d5ae0235c861
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Fri Sep 22 18:48:11 2017 -0400
uploaded sources this time
.gitignore | 1 +
sources | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
index b3e1d00..33c625a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,4 @@
/chromium-60.0.3112.113-clean.tar.xz
/chromium-60.0.3112.113.tar.xz
/chromium-61.0.3163.79-clean.tar.xz
+/chromium-61.0.3163.100-clean.tar.xz
diff --git a/sources b/sources
index fadaf7c..ae3c95c 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
SHA512 (depot_tools.git-master.tar.gz) = d3d6a1873b2b0296a8cd99e0d8d2e629a17b1808934b4972556168f8b4ccea60577ebaeab4445baf15afb1b04080808db59a832a5b61d247bd48da14fa6acf03
-SHA512 (chromium-61.0.3163.79-clean.tar.xz) = 9d3bfb24a71af6332e30cb5a5d40581eab166bf550c48019b6ac6ed37ead52eac4a09af41e056207f5ded91f4c420560ebd886ae3ae23e05602c755e334dbe02
SHA512 (policy_templates.zip) = 39e9ccbeda8499acb81e5455e34ece44e72f065d139e718b38803c907b4ecca9f179f2eb84b10953a307087ed9586a5de30bbfb933eb9f6b77a682ea82164be7
+SHA512 (chromium-61.0.3163.100-clean.tar.xz) = 985a2d86f43e59252343fa3a5ee56b0462259ef67afd4c43fd9ee3abd9eec34292b7437d416513cccc29a9de9a10879d91ccb5328e7702a1888b5880eb27c809
7 years, 2 months
[chromium-freeworld: 8/10] 61.0.3163.100 and lots of epel7 fixes
by Miro Hrončok
commit 79d8235f4c89bb21221dba613de4eb62efdfe8d8
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Fri Sep 22 18:36:45 2017 -0400
61.0.3163.100 and lots of epel7 fixes
chromium-61.0.3163.79-rvalue-fix.patch | 36 ++++++++++++++++++++++++++++++++++
chromium.spec | 24 +++++++++++++++++++++--
2 files changed, 58 insertions(+), 2 deletions(-)
---
diff --git a/chromium-61.0.3163.79-rvalue-fix.patch b/chromium-61.0.3163.79-rvalue-fix.patch
new file mode 100644
index 0000000..41138f6
--- /dev/null
+++ b/chromium-61.0.3163.79-rvalue-fix.patch
@@ -0,0 +1,36 @@
+diff -up chromium-61.0.3163.100/chrome/browser/ui/webui/settings/on_startup_handler.cc.another-rvalue-fix chromium-61.0.3163.100/chrome/browser/ui/webui/settings/on_startup_handler.cc
+--- chromium-61.0.3163.100/chrome/browser/ui/webui/settings/on_startup_handler.cc.another-rvalue-fix 2017-09-22 17:50:14.247727636 -0400
++++ chromium-61.0.3163.100/chrome/browser/ui/webui/settings/on_startup_handler.cc 2017-09-22 17:50:25.626492965 -0400
+@@ -77,7 +77,7 @@ std::unique_ptr<base::Value> OnStartupHa
+ !extensions::ExtensionSystem::Get(profile_)
+ ->management_policy()
+ ->MustRemainEnabled(ntp_extension, nullptr));
+- return dict;
++ return std::move(dict);
+ }
+
+ void OnStartupHandler::HandleGetNtpExtension(const base::ListValue* args) {
+diff -up chromium-61.0.3163.100/ui/message_center/views/notification_header_view.cc.another-rvalue-fix chromium-61.0.3163.100/ui/message_center/views/notification_header_view.cc
+--- chromium-61.0.3163.100/ui/message_center/views/notification_header_view.cc.another-rvalue-fix 2017-09-21 18:05:24.000000000 -0400
++++ chromium-61.0.3163.100/ui/message_center/views/notification_header_view.cc 2017-09-22 10:14:15.680987910 -0400
+@@ -321,7 +321,7 @@ std::unique_ptr<views::InkDrop> Notifica
+ ink_drop->SetAutoHighlightMode(
+ views::InkDropImpl::AutoHighlightMode::SHOW_ON_RIPPLE);
+ ink_drop->SetShowHighlightOnHover(false);
+- return ink_drop;
++ return std::move(ink_drop);
+ }
+
+ std::unique_ptr<views::InkDropRipple>
+diff -up chromium-61.0.3163.100/ui/views/controls/button/checkbox.cc.another-rvalue-fix chromium-61.0.3163.100/ui/views/controls/button/checkbox.cc
+--- chromium-61.0.3163.100/ui/views/controls/button/checkbox.cc.another-rvalue-fix 2017-09-22 14:46:36.109955800 -0400
++++ chromium-61.0.3163.100/ui/views/controls/button/checkbox.cc 2017-09-22 14:46:48.736698401 -0400
+@@ -195,7 +195,7 @@ std::unique_ptr<InkDrop> Checkbox::Creat
+ std::unique_ptr<InkDropImpl> ink_drop = CreateDefaultInkDropImpl();
+ ink_drop->SetShowHighlightOnHover(false);
+ ink_drop->SetAutoHighlightMode(InkDropImpl::AutoHighlightMode::NONE);
+- return ink_drop;
++ return std::move(ink_drop);
+ }
+
+ std::unique_ptr<InkDropRipple> Checkbox::CreateInkDropRipple() const {
diff --git a/chromium.spec b/chromium.spec
index 3ab9372..e970c15 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -84,11 +84,13 @@ BuildRequires: libicu-devel >= 5.4
%global bundlelibusbx 1
%global bundleharfbuzz 1
%global bundlelibwebp 1
+%global bundlelibpng 1
%else
%global bundleharfbuzz 0
%global bundleopus 1
%global bundlelibusbx 0
%global bundlelibwebp 0
+%global bundlelibpng 0
%endif
# Needs at least harfbuzz 1.4.2 now.
@@ -115,7 +117,7 @@ Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
%else
Name: chromium%{chromium_channel}
%endif
-Version: %{majorversion}.0.3163.79
+Version: %{majorversion}.0.3163.100
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser
Url: http://www.chromium.org/Home
@@ -221,6 +223,8 @@ Patch58: chromium-61.0.3163.79-dde535-gcc-fix.patch
Patch59: chromium-61.0.3163.79-gcc-nc.patch
# Epel compiler really does not like assigning nullptr to a StructPtr
Patch60: chromium-61.0.3163.79-epel7-no-nullptr-assignment-on-StructPtr.patch
+# Another gcc 4.8 goods..
+Patch61: chromium-61.0.3163.79-rvalue-fix.patch
### Chromium Tests Patches ###
Patch100: chromium-46.0.2490.86-use_system_opus.patch
@@ -341,7 +345,12 @@ BuildRequires: libffi-devel
BuildRequires: libicu-devel = 54.1
%endif
BuildRequires: libjpeg-devel
+%if 0%{?bundlelibpng}
+# If this is true, we're using the bundled libpng
+# which we need to do because the RHEL 7 libpng doesn't work right anymore
+%else
BuildRequires: libpng-devel
+%endif
%if 0
# see https://code.google.com/p/chromium/issues/detail?id=501318
BuildRequires: libsrtp-devel >= 1.4.4
@@ -473,7 +482,9 @@ Provides: bundled(libevent) = 1.4.15
Provides: bundled(libjingle) = 9564
# Provides: bundled(libjpeg-turbo) = 1.4.90
Provides: bundled(libphonenumber) = a4da30df63a097d67e3c429ead6790ad91d36cf4
-# Provides: bundled(libpng) = 1.6.22
+%if 0%{?bundlelibpng}
+Provides: bundled(libpng) = 1.6.22
+%endif
Provides: bundled(libsrtp) = 2cbd85085037dc7bf2eda48d4cf62e2829056e2d
%if %{bundlelibusbx}
Provides: bundled(libusbx) = 1.0.17
@@ -664,6 +675,7 @@ udev.
%patch58 -p1 -b .dde5e35
%patch59 -p1 -b .gcc-nc
%patch60 -p1 -b .nonullptr
+%patch61 -p1 -b .another-rvalue-fix
%endif
%patch48 -p1 -b .camfix
%patch50 -p1 -b .pathfix
@@ -1025,7 +1037,10 @@ build/linux/unbundle/replace_gn_files.py --system-libraries \
%endif
libdrm \
libjpeg \
+%if %{bundlelibpng}
+%else
libpng \
+%endif
%if %{bundlelibusbx}
%else
libusb \
@@ -1898,6 +1913,11 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%changelog
+* Fri Sep 22 2017 Tom Callaway <spot(a)fedoraproject.org> 61.0.3163.100-1
+- update to 61.0.3163.100
+- lots of epel7 specific fixes
+- use bundled libpng on epel7
+
* Wed Sep 6 2017 Tom Callaway <spot(a)fedoraproject.org> 61.0.3163.79-1
- update to 61.0.3163.79
7 years, 2 months
[chromium-freeworld: 7/10] i think this will build
by Miro Hrončok
commit 1144ae5d3cd031b0e14095ce787f1574109b33b2
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Tue Sep 19 10:07:30 2017 -0400
i think this will build
....0.3163.79-epel7-no-nullptr-assignment-on-StructPtr.patch | 12 ++++++++++++
chromium.spec | 6 +++---
2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/chromium-61.0.3163.79-epel7-no-nullptr-assignment-on-StructPtr.patch b/chromium-61.0.3163.79-epel7-no-nullptr-assignment-on-StructPtr.patch
new file mode 100644
index 0000000..0ba375b
--- /dev/null
+++ b/chromium-61.0.3163.79-epel7-no-nullptr-assignment-on-StructPtr.patch
@@ -0,0 +1,12 @@
+diff -up chromium-61.0.3163.79/third_party/WebKit/Source/platform/blob/BlobData.cpp.nonullptr chromium-61.0.3163.79/third_party/WebKit/Source/platform/blob/BlobData.cpp
+--- chromium-61.0.3163.79/third_party/WebKit/Source/platform/blob/BlobData.cpp.nonullptr 2017-09-18 11:28:33.541339036 -0400
++++ chromium-61.0.3163.79/third_party/WebKit/Source/platform/blob/BlobData.cpp 2017-09-18 11:27:35.757799400 -0400
+@@ -287,7 +287,7 @@ BlobDataHandle::BlobDataHandle(std::uniq
+
+ size_t current_memory_population = 0;
+ Vector<DataElementPtr> elements;
+- const DataElementPtr null_element = nullptr;
++ const DataElementPtr null_element;
+ BlobBytesProvider* last_bytes_provider = nullptr;
+
+ // TODO(mek): When the mojo code path is the default BlobData should
diff --git a/chromium.spec b/chromium.spec
index 1f24993..3ab9372 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -219,8 +219,8 @@ Patch57: chromium-61.0.3163.79-aarch64-glibc-2.26.90.patch
# More gcc fixes for epel
Patch58: chromium-61.0.3163.79-dde535-gcc-fix.patch
Patch59: chromium-61.0.3163.79-gcc-nc.patch
-# This is really ugly.
-Patch60: chromium-61.0.3163.79-uglyhack.patch
+# Epel compiler really does not like assigning nullptr to a StructPtr
+Patch60: chromium-61.0.3163.79-epel7-no-nullptr-assignment-on-StructPtr.patch
### Chromium Tests Patches ###
Patch100: chromium-46.0.2490.86-use_system_opus.patch
@@ -663,7 +663,7 @@ udev.
%patch47 -p1 -b .c99
%patch58 -p1 -b .dde5e35
%patch59 -p1 -b .gcc-nc
-%patch60 -p1 -b .uglyhack
+%patch60 -p1 -b .nonullptr
%endif
%patch48 -p1 -b .camfix
%patch50 -p1 -b .pathfix
7 years, 2 months
[chromium-freeworld: 6/10] ugly hack to make epel7 build. maybe
by Miro Hrončok
commit a0a687b685d749b71830e3cd1151ab9783777796
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Thu Sep 14 14:19:52 2017 -0400
ugly hack to make epel7 build. maybe
chromium-61.0.3163.79-uglyhack.patch | 12 ++++++++++++
chromium.spec | 3 +++
2 files changed, 15 insertions(+)
---
diff --git a/chromium-61.0.3163.79-uglyhack.patch b/chromium-61.0.3163.79-uglyhack.patch
new file mode 100644
index 0000000..b76fcd7
--- /dev/null
+++ b/chromium-61.0.3163.79-uglyhack.patch
@@ -0,0 +1,12 @@
+diff -up chromium-61.0.3163.79/mojo/public/cpp/bindings/struct_ptr.h.uglyhack chromium-61.0.3163.79/mojo/public/cpp/bindings/struct_ptr.h
+--- chromium-61.0.3163.79/mojo/public/cpp/bindings/struct_ptr.h.uglyhack 2017-09-14 14:01:32.168409717 -0400
++++ chromium-61.0.3163.79/mojo/public/cpp/bindings/struct_ptr.h 2017-09-14 14:01:40.478219060 -0400
+@@ -107,7 +107,7 @@ class StructPtr {
+
+ std::unique_ptr<Struct> ptr_;
+
+- DISALLOW_COPY_AND_ASSIGN(StructPtr);
++ // DISALLOW_COPY_AND_ASSIGN(StructPtr);
+ };
+
+ template <typename T>
diff --git a/chromium.spec b/chromium.spec
index fa699ff..1f24993 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -219,6 +219,8 @@ Patch57: chromium-61.0.3163.79-aarch64-glibc-2.26.90.patch
# More gcc fixes for epel
Patch58: chromium-61.0.3163.79-dde535-gcc-fix.patch
Patch59: chromium-61.0.3163.79-gcc-nc.patch
+# This is really ugly.
+Patch60: chromium-61.0.3163.79-uglyhack.patch
### Chromium Tests Patches ###
Patch100: chromium-46.0.2490.86-use_system_opus.patch
@@ -661,6 +663,7 @@ udev.
%patch47 -p1 -b .c99
%patch58 -p1 -b .dde5e35
%patch59 -p1 -b .gcc-nc
+%patch60 -p1 -b .uglyhack
%endif
%patch48 -p1 -b .camfix
%patch50 -p1 -b .pathfix
7 years, 2 months
[chromium-freeworld: 5/10] will it never stop?
by Miro Hrončok
commit 5ff888b012dceeb722f051db5de026f9e295b188
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Thu Sep 14 11:17:31 2017 -0400
will it never stop?
chromium-61.0.3163.79-gcc-nc.patch | 12 ++++++++++++
chromium.spec | 2 ++
2 files changed, 14 insertions(+)
---
diff --git a/chromium-61.0.3163.79-gcc-nc.patch b/chromium-61.0.3163.79-gcc-nc.patch
new file mode 100644
index 0000000..652e4bd
--- /dev/null
+++ b/chromium-61.0.3163.79-gcc-nc.patch
@@ -0,0 +1,12 @@
+diff -up chromium-61.0.3163.79/content/network/network_service_impl.cc.gcc-nc chromium-61.0.3163.79/content/network/network_service_impl.cc
+--- chromium-61.0.3163.79/content/network/network_service_impl.cc.gcc-nc 2017-09-14 11:15:35.138981701 -0400
++++ chromium-61.0.3163.79/content/network/network_service_impl.cc 2017-09-14 11:16:15.874070310 -0400
+@@ -90,7 +90,7 @@ NetworkServiceImpl::CreateNetworkContext
+ base::MakeUnique<NetworkContext>(std::move(request), std::move(params),
+ std::move(builder));
+ *url_request_context = network_context->url_request_context();
+- return network_context;
++ return std::unique_ptr<content::NetworkContext>(network_context.release());
+ }
+
+ std::unique_ptr<NetworkService> NetworkServiceImpl::CreateForTesting() {
diff --git a/chromium.spec b/chromium.spec
index a264003..fa699ff 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -218,6 +218,7 @@ Patch56: chromium-61.0.3163.79-fix-atk-compile.patch
Patch57: chromium-61.0.3163.79-aarch64-glibc-2.26.90.patch
# More gcc fixes for epel
Patch58: chromium-61.0.3163.79-dde535-gcc-fix.patch
+Patch59: chromium-61.0.3163.79-gcc-nc.patch
### Chromium Tests Patches ###
Patch100: chromium-46.0.2490.86-use_system_opus.patch
@@ -659,6 +660,7 @@ udev.
%patch46 -p1 -b .kmaxskip
%patch47 -p1 -b .c99
%patch58 -p1 -b .dde5e35
+%patch59 -p1 -b .gcc-nc
%endif
%patch48 -p1 -b .camfix
%patch50 -p1 -b .pathfix
7 years, 2 months
[chromium-freeworld: 4/10] more epel gcc fixes
by Miro Hrončok
commit c00dedb7b53a73dd779a1653c81d5dc887265f45
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Thu Sep 14 10:24:23 2017 -0400
more epel gcc fixes
chromium-61.0.3163.79-dde535-gcc-fix.patch | 14 ++++++++++++++
chromium.spec | 3 +++
2 files changed, 17 insertions(+)
---
diff --git a/chromium-61.0.3163.79-dde535-gcc-fix.patch b/chromium-61.0.3163.79-dde535-gcc-fix.patch
new file mode 100644
index 0000000..f9c3572
--- /dev/null
+++ b/chromium-61.0.3163.79-dde535-gcc-fix.patch
@@ -0,0 +1,14 @@
+diff -up chromium-61.0.3163.79/content/renderer/service_worker/web_service_worker_installed_scripts_manager_impl.cc.dde5e35 chromium-61.0.3163.79/content/renderer/service_worker/web_service_worker_installed_scripts_manager_impl.cc
+diff -up chromium-61.0.3163.79/services/resource_coordinator/resource_coordinator_service.cc.dde5e35 chromium-61.0.3163.79/services/resource_coordinator/resource_coordinator_service.cc
+--- chromium-61.0.3163.79/services/resource_coordinator/resource_coordinator_service.cc.dde5e35 2017-09-14 10:20:59.750146036 -0400
++++ chromium-61.0.3163.79/services/resource_coordinator/resource_coordinator_service.cc 2017-09-14 10:21:35.498261516 -0400
+@@ -17,7 +17,8 @@ std::unique_ptr<service_manager::Service
+ auto resource_coordinator_service =
+ base::MakeUnique<ResourceCoordinatorService>();
+
+- return resource_coordinator_service;
++ return std::unique_ptr<service_manager::Service>(
++ resource_coordinator_service.release());
+ }
+
+ ResourceCoordinatorService::ResourceCoordinatorService()
diff --git a/chromium.spec b/chromium.spec
index 2c10707..a264003 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -216,6 +216,8 @@ Patch55: chromium-61.0.3163.79-gtk2fix.patch
Patch56: chromium-61.0.3163.79-fix-atk-compile.patch
# Only needed when glibc 2.26.90 or later is used
Patch57: chromium-61.0.3163.79-aarch64-glibc-2.26.90.patch
+# More gcc fixes for epel
+Patch58: chromium-61.0.3163.79-dde535-gcc-fix.patch
### Chromium Tests Patches ###
Patch100: chromium-46.0.2490.86-use_system_opus.patch
@@ -656,6 +658,7 @@ udev.
%if 0%{?rhel} == 7
%patch46 -p1 -b .kmaxskip
%patch47 -p1 -b .c99
+%patch58 -p1 -b .dde5e35
%endif
%patch48 -p1 -b .camfix
%patch50 -p1 -b .pathfix
7 years, 2 months
[chromium-freeworld: 3/10] try different cc/paint fix
by Miro Hrončok
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
7 years, 2 months
[chromium-freeworld: 2/10] use fpermissive on cc/paint
by Miro Hrončok
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
7 years, 2 months