el7 fixes, hopefully, all we need for now

This commit is contained in:
Tom Callaway 2020-10-24 07:47:17 -04:00
parent d6246f8591
commit d61fe4879d
3 changed files with 1140 additions and 26 deletions

View File

@ -1,21 +0,0 @@
diff -up chromium-86.0.4240.111/base/strings/string_util_internal.h.ranges chromium-86.0.4240.111/base/strings/string_util_internal.h
--- chromium-86.0.4240.111/base/strings/string_util_internal.h.ranges 2020-10-21 18:25:31.939001816 -0400
+++ chromium-86.0.4240.111/base/strings/string_util_internal.h 2020-10-21 18:26:36.686485073 -0400
@@ -9,6 +9,7 @@
#include "base/notreached.h"
#include "base/strings/string_piece.h"
#include "base/third_party/icu/icu_utf.h"
+#include "base/util/ranges/algorithm.h"
namespace base {
@@ -578,8 +579,7 @@ StringType DoReplaceStringPlaceholders(
ReplacementOffset r_offset(index,
static_cast<int>(formatted.size()));
r_offsets.insert(
- std::upper_bound(r_offsets.begin(), r_offsets.end(), r_offset,
- &CompareParameter),
+ util::ranges::upper_bound(r_offsets, r_offset, &CompareParameter),
r_offset);
}
if (index < substitutions)

File diff suppressed because it is too large Load Diff

View File

@ -275,10 +275,6 @@ Patch70: chromium-84.0.4147.125-i686-fix_textrels.patch
Patch71: chromium-84.0.4147.125-aarch64-clearkeycdm-binutils-workaround.patch
# https://github.com/chromium/chromium/commit/53478caee862624fc6d73516f8d64253854b146f
Patch72: chromium-85.0.4183.102-invalid-end-CookieMonster-53478ca.patch
# EL7 failed to compile without this, but it seems accurate for all branches
# just a bit taken from
# https://github.com/chromium/chromium/commit/a61fb57edb75fcfe251af0e6f66820d13924ad62
Patch73: chromium-86-use-range-based-algorithms.patch
# Use lstdc++ on EPEL7 only
Patch101: chromium-75.0.3770.100-epel7-stdc++.patch
@ -298,6 +294,10 @@ Patch107: chromium-84.0.4147.89-el8-arm-incompatible-ints.patch
# libdrm on EL7 is rather old and chromium assumes newer
# This gets us by for now
Patch108: chromium-85.0.4183.83-el7-old-libdrm.patch
# Move nearby_share code to chromeos only on EL7
# Why? Because something in it fails to build on EL7 (and only there)
# And upstream later sets it to chromeos only anyway
Patch109: chromium-86.0.4240.111-el7-limit-nearby-sharing-to-chromeos.patch
# VAAPI
# Upstream turned VAAPI on in Linux in 86
@ -896,7 +896,6 @@ udev.
%patch70 -p1 -b .i686-textrels
%patch71 -p1 -b .aarch64-clearkeycdm-binutils-workaround
%patch72 -p1 -b .invalid-end-CookieMonster
%patch73 -p1 -b .a61fb57e
# Fedora branded user agent
%if 0%{?fedora}
@ -910,6 +909,7 @@ udev.
%patch103 -p1 -b .epel7-kcmp
%patch104 -p1 -b .el7cups
%patch108 -p1 -b .el7-old-libdrm
%patch109 -p1 -b .disable-nearby_sharing
%endif
%if 0%{?rhel} == 8