From bf83007e0323548fd15eab9ad4344ee63990e1c4 Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Wed, 16 Feb 2022 13:55:19 -0500 Subject: [PATCH] Add include for std::exchange --- ....0.4758.80-missing-utility-for-std-exchange.patch | 12 ++++++++++++ chromium.spec | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 chromium-98.0.4758.80-missing-utility-for-std-exchange.patch diff --git a/chromium-98.0.4758.80-missing-utility-for-std-exchange.patch b/chromium-98.0.4758.80-missing-utility-for-std-exchange.patch new file mode 100644 index 00000000..1b5a71f1 --- /dev/null +++ b/chromium-98.0.4758.80-missing-utility-for-std-exchange.patch @@ -0,0 +1,12 @@ +diff -up chromium-98.0.4758.80/base/third_party/symbolize/symbolize.h.f36 chromium-98.0.4758.80/base/third_party/symbolize/symbolize.h +--- chromium-98.0.4758.80/base/third_party/symbolize/symbolize.h.f36 2022-02-08 19:28:20.198873875 +0000 ++++ chromium-98.0.4758.80/base/third_party/symbolize/symbolize.h 2022-02-08 19:28:57.533127622 +0000 +@@ -58,6 +58,8 @@ + #include "config.h" + #include "glog/logging.h" + ++#include ++ + #ifdef HAVE_SYMBOLIZE + + #include diff --git a/chromium.spec b/chromium.spec index be223d86..99a34874 100644 --- a/chromium.spec +++ b/chromium.spec @@ -318,7 +318,8 @@ Patch97: chromium-98.0.4758.80-remoting-extra-qualification.patch Patch98: chromium-94.0.4606.71-InkDropHost-crash.patch # Enable WebRTCPPipeWireCapturer by default Patch99: chromium-96.0.4664.110-enable-WebRTCPipeWireCapturer-byDefault.patch - +# Add include for std::exchange +Patch100: chromium-98.0.4758.80-missing-utility-for-std-exchange.patch # Use lstdc++ on EPEL7 only @@ -998,6 +999,7 @@ udev. %patch97 -p1 -b .remoting-extra-qualification %patch98 -p1 -b .InkDropHost-crash %patch99 -p1 -b .enable-WebRTCPipeWireCapturer-byDefault +%patch100 -p1 -b .missing-utility-for-std-exchange # Fedora branded user agent %if 0%{?fedora}