commit e94ee3ab51a8a8b9004fed2d49fb1ea4fe920ad8
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Mon Oct 28 23:41:46 2019 +0530
Add noexcept patch from gentoo to fix build on GCC
chromium-gcc9-dns_util-ambiguous-ctor.patch | 20 ++++++++++++++++++++
chromium-vaapi.spec | 1 +
2 files changed, 21 insertions(+)
---
diff --git a/chromium-gcc9-dns_util-ambiguous-ctor.patch
b/chromium-gcc9-dns_util-ambiguous-ctor.patch
new file mode 100644
index 0000000..16bb7b7
--- /dev/null
+++ b/chromium-gcc9-dns_util-ambiguous-ctor.patch
@@ -0,0 +1,20 @@
+--- chromium-78.0.3904.70/net/dns/dns_util.cc.orig
++++ chromium-78.0.3904.70/net/dns/dns_util.cc
+@@ -144,7 +144,7 @@
+ // DohProviderId histogram suffix list in
+ // tools/metrics/histograms/histograms.xml.
+ static const base::NoDestructor<std::vector<DohUpgradeEntry>>
+- upgradable_servers({
++ upgradable_servers(std::vector<DohUpgradeEntry>({
+ DohUpgradeEntry(
+ "CleanBrowsingAdult",
+ {"185.228.168.10", "185.228.169.11",
"2a0d:2a00:1::1",
+@@ -215,7 +215,7 @@
+ {"9.9.9.9", "149.112.112.112",
"2620:fe::fe", "2620:fe::9"},
+ {"dns.quad9.net", "dns9.quad9.net"} /* DoT hostname
*/,
+ {"https://dns.quad9.net/dns-query", true /* use_post */}),
+- });
++ }));
+ return *upgradable_servers;
+ }
+
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index b9e1d61..cc106e8 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -229,6 +229,7 @@ Patch74: chromium-gcc9-r694853.patch
Patch75: chromium-gcc9-r696834.patch
Patch76: chromium-gcc9-r706467.patch
Patch77: chromium-v8-gcc9.patch
+Patch78: chromium-gcc9-dns_util-ambiguous-ctor.patch
%description
%{name} is an open-source web browser, powered by WebKit (Blink)
Show replies by date