fix issue with find_if

This commit is contained in:
Tom Callaway 2019-12-03 15:36:35 -05:00
parent a1f6bc44e5
commit de0075c1b2
2 changed files with 14 additions and 0 deletions

View File

@ -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 <algorithm>
#include <map>
#include "base/macros.h"

View File

@ -234,6 +234,8 @@ Patch60: chromium-79.0.3945.56-glibc-clock-nanosleep.patch
Patch61: chromium-79.0.3945.56-gcc-name-clash.patch Patch61: chromium-79.0.3945.56-gcc-name-clash.patch
# https://chromium.googlesource.com/chromium/src/+/528e9a3e1f25bd264549c4c7779748abfd16bb1c # https://chromium.googlesource.com/chromium/src/+/528e9a3e1f25bd264549c4c7779748abfd16bb1c
Patch62: chromium-79-gcc-permissive.patch 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 # Use lstdc++ on EPEL7 only
@ -777,6 +779,7 @@ udev.
%patch60 -p1 -b .glibc-clock-nanosleep %patch60 -p1 -b .glibc-clock-nanosleep
%patch61 -p1 -b .gcc-name-clash %patch61 -p1 -b .gcc-name-clash
%patch62 -p1 -b .gcc-permissive %patch62 -p1 -b .gcc-permissive
%patch63 -p1 -b .fix-find_if
# Fedora branded user agent # Fedora branded user agent
%if 0%{?fedora} %if 0%{?fedora}