From c00dedb7b53a73dd779a1653c81d5dc887265f45 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Thu, 14 Sep 2017 10:24:23 -0400 Subject: [PATCH] more epel gcc fixes --- chromium-61.0.3163.79-dde535-gcc-fix.patch | 14 ++++++++++++++ chromium.spec | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 chromium-61.0.3163.79-dde535-gcc-fix.patch 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 00000000..f9c35729 --- /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(); + +- return resource_coordinator_service; ++ return std::unique_ptr( ++ resource_coordinator_service.release()); + } + + ResourceCoordinatorService::ResourceCoordinatorService() diff --git a/chromium.spec b/chromium.spec index 2c10707a..a2640031 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