From a0a687b685d749b71830e3cd1151ab9783777796 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Thu, 14 Sep 2017 14:19:52 -0400 Subject: [PATCH] ugly hack to make epel7 build. maybe --- chromium-61.0.3163.79-uglyhack.patch | 12 ++++++++++++ chromium.spec | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 chromium-61.0.3163.79-uglyhack.patch diff --git a/chromium-61.0.3163.79-uglyhack.patch b/chromium-61.0.3163.79-uglyhack.patch new file mode 100644 index 00000000..b76fcd73 --- /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 ptr_; + +- DISALLOW_COPY_AND_ASSIGN(StructPtr); ++ // DISALLOW_COPY_AND_ASSIGN(StructPtr); + }; + + template diff --git a/chromium.spec b/chromium.spec index fa699fff..1f249934 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