commit 1dabe8d36679bcd36e5488c42a5f148a6100f872
Author: Tomas Popela <tpopela(a)redhat.com>
Date: Fri Sep 13 15:24:09 2019 +0200
Include <memory> to fix the headless build
chromium-77.0.3865.75-gcc-include-memory.patch | 12 ++++++++++++
chromium.spec | 3 +++
2 files changed, 15 insertions(+)
---
diff --git a/chromium-77.0.3865.75-gcc-include-memory.patch
b/chromium-77.0.3865.75-gcc-include-memory.patch
new file mode 100644
index 0000000..93b4399
--- /dev/null
+++ b/chromium-77.0.3865.75-gcc-include-memory.patch
@@ -0,0 +1,12 @@
+diff -up
chromium-77.0.3865.75/third_party/one_euro_filter/src/one_euro_filter.h.gcc-include-memory
chromium-77.0.3865.75/third_party/one_euro_filter/src/one_euro_filter.h
+---
chromium-77.0.3865.75/third_party/one_euro_filter/src/one_euro_filter.h.gcc-include-memory 2019-09-13
14:44:24.962770079 +0200
++++ chromium-77.0.3865.75/third_party/one_euro_filter/src/one_euro_filter.h 2019-09-13
14:44:45.347073612 +0200
+@@ -3,6 +3,8 @@
+
+ #include "low_pass_filter.h"
+
++#include <memory>
++
+ namespace one_euro_filter {
+ namespace test {
+ class OneEuroFilterTest;
diff --git a/chromium.spec b/chromium.spec
index 92e6b78..980a57d 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -276,6 +276,8 @@ Patch63: chromium-76.0.3809.100-vtable-symbol-undefined.patch
Patch64: chromium-77.0.3865.75-certificate-transparency.patch
#
https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/chromium/files/...
Patch65: chromium-77.0.3865.75-unbundle-zlib.patch
+# Needs to be submitted..
+Patch66: chromium-77.0.3865.75-gcc-include-memory.patch
# Apply these changes to work around EPEL7 compiler issues
Patch100: chromium-62.0.3202.62-kmaxskip-constexpr.patch
@@ -838,6 +840,7 @@ udev.
%patch63 -p1 -b .vtable-symbol-undefined
%patch64 -p1 -b .certificate-transparency
%patch65 -p1 -b .unbundle-zlib
+%patch66 -p1 -b .gcc-include-memory
# EPEL specific patches
%if 0%{?rhel} == 7