commit 78050fc457fd3214d2d039f403eaa7860b19e698
Author: Tomas Popela <tpopela(a)redhat.com>
Date: Sun Sep 15 08:08:54 2019 +0200
Fix the aarch64 build
chromium-77.0.3865.75-missing-limits.patch | 28 ++++++++++++++++++++++++++++
chromium.spec | 3 +++
2 files changed, 31 insertions(+)
---
diff --git a/chromium-77.0.3865.75-missing-limits.patch
b/chromium-77.0.3865.75-missing-limits.patch
new file mode 100644
index 0000000..3ac1770
--- /dev/null
+++ b/chromium-77.0.3865.75-missing-limits.patch
@@ -0,0 +1,28 @@
+From 5baf7df7f4c5971dab552897eeef94b194650ce5 Mon Sep 17 00:00:00 2001
+From: Dave Tapuska <dtapuska(a)chromium.org>
+Date: Mon, 12 Aug 2019 22:30:13 +0000
+Subject: [PATCH] Fix build failure due to missing include for std::numeric_limits usage.
+
+Some configurations fail to build, limits should have been included.
+
+BUG=992832
+
+Change-Id: I894ba0543bfcef101c93259e39a31d12ae6d035c
+Reviewed-on:
https://chromium-review.googlesource.com/c/chromium/src/+/1747981
+Commit-Queue: Dave Tapuska <dtapuska(a)chromium.org>
+Reviewed-by: Mostyn Bramley-Moore <mostynb(a)vewd.com>
+Cr-Commit-Position: refs/heads/master@{#686214}
+---
+
+diff --git a/third_party/blink/renderer/platform/exported/web_time_range.cc
b/third_party/blink/renderer/platform/exported/web_time_range.cc
+index 384566a..68d83e1 100644
+--- a/third_party/blink/renderer/platform/exported/web_time_range.cc
++++ b/third_party/blink/renderer/platform/exported/web_time_range.cc
+@@ -31,6 +31,7 @@
+ #include "third_party/blink/public/platform/web_time_range.h"
+
+ #include <cmath>
++#include <limits>
+
+ namespace blink {
+
diff --git a/chromium.spec b/chromium.spec
index 760805e..799b55b 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -288,6 +288,8 @@ Patch67: chromium-77.0.3865.75-base-gcc-no-alignas.patch
Patch68: chromium-77.0.3865.75-harfbuzz-subset.patch
#
https://chromium.googlesource.com/chromium/src.git/+/f08cb0022527081c078e...
Patch69: chromium-77.0.3865.75-gcc-abstract-class.patch
+#
https://chromium.googlesource.com/chromium/src/+/5baf7df7f4c5971dab552897...
+Patch70: chromium-77.0.3865.75-missing-limits.patch
# Apply these changes to work around EPEL7 compiler issues
Patch100: chromium-62.0.3202.62-kmaxskip-constexpr.patch
@@ -853,6 +855,7 @@ udev.
%patch67 -p1 -b .base-gcc-no-alignas
%patch68 -p1 -b .harfbuzz-subset
%patch69 -p1 -b .gcc-abstract-class
+%patch70 -p1 -b .missing-limits
# EPEL specific patches
%if 0%{?rhel} == 7