From de0075c1b2d8a2270fe92a10ec7993f98eebd2c5 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 3 Dec 2019 15:36:35 -0500 Subject: [PATCH] fix issue with find_if --- chromium-79.0.3945.56-fix-find_if.patch | 11 +++++++++++ chromium.spec | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 chromium-79.0.3945.56-fix-find_if.patch diff --git a/chromium-79.0.3945.56-fix-find_if.patch b/chromium-79.0.3945.56-fix-find_if.patch new file mode 100644 index 00000000..b1eac4fe --- /dev/null +++ b/chromium-79.0.3945.56-fix-find_if.patch @@ -0,0 +1,11 @@ +diff -up chromium-79.0.3945.56/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h.fix-find_if chromium-79.0.3945.56/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h +--- chromium-79.0.3945.56/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h.fix-find_if 2019-12-03 15:32:07.315635750 -0500 ++++ chromium-79.0.3945.56/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h 2019-12-03 15:32:33.085054770 -0500 +@@ -5,6 +5,7 @@ + #ifndef UI_BASE_CURSOR_OZONE_BITMAP_CURSOR_FACTORY_OZONE_H_ + #define UI_BASE_CURSOR_OZONE_BITMAP_CURSOR_FACTORY_OZONE_H_ + ++#include + #include + + #include "base/macros.h" diff --git a/chromium.spec b/chromium.spec index 733fc063..7e22b5bd 100644 --- a/chromium.spec +++ b/chromium.spec @@ -234,6 +234,8 @@ Patch60: chromium-79.0.3945.56-glibc-clock-nanosleep.patch Patch61: chromium-79.0.3945.56-gcc-name-clash.patch # https://chromium.googlesource.com/chromium/src/+/528e9a3e1f25bd264549c4c7779748abfd16bb1c Patch62: chromium-79-gcc-permissive.patch +# /../../ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc:53:15: error: 'find_if' is not a member of 'std'; did you mean 'find'? +Patch63: chromium-79.0.3945.56-fix-find_if.patch # Use lstdc++ on EPEL7 only @@ -777,6 +779,7 @@ udev. %patch60 -p1 -b .glibc-clock-nanosleep %patch61 -p1 -b .gcc-name-clash %patch62 -p1 -b .gcc-permissive +%patch63 -p1 -b .fix-find_if # Fedora branded user agent %if 0%{?fedora}