public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel9-next: fix compiler errors due to old clang version
Date: Fri, 07 Aug 2026 16:05:29 GMT [thread overview]
Message-ID: <178611872920.1.2652322547904431227.rpms-chromium-54f9069a3830@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 54f9069a3830853cad10b5d092f3cb606caaaa8b
Author : Than Ngo <than@redhat.com>
Date : 2023-09-15T22:10:13+02:00
Stats : +44/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/54f9069a3830853cad10b5d092f3cb606caaaa8b?branch=epel9-next
Log:
fix compiler errors due to old clang version
---
diff --git a/chromium-117-emplace_back_on_vector-c++20.patch b/chromium-117-emplace_back_on_vector-c++20.patch
index acac878..3f1b800 100644
--- a/chromium-117-emplace_back_on_vector-c++20.patch
+++ b/chromium-117-emplace_back_on_vector-c++20.patch
@@ -72,3 +72,20 @@ diff -up chromium-117.0.5938.62/content/browser/download/save_package.cc.me chro
}
download::DownloadSaveItemData::AttachItemData(download_, std::move(files));
}
+diff -up chromium-117.0.5938.62/ui/gtk/gtk_ui.cc.me chromium-117.0.5938.62/ui/gtk/gtk_ui.cc
+--- chromium-117.0.5938.62/ui/gtk/gtk_ui.cc.me 2023-09-15 20:29:42.626502343 +0200
++++ chromium-117.0.5938.62/ui/gtk/gtk_ui.cc 2023-09-15 20:36:18.763091179 +0200
+@@ -955,11 +955,11 @@ ui::DisplayConfig GtkUi::GetDisplayConfi
+ GdkRectangle geometry;
+ gdk_monitor_get_geometry(monitor, &geometry);
+ int monitor_scale = std::max(1, gdk_monitor_get_scale_factor(monitor));
+- config.display_geometries.emplace_back(
++ config.display_geometries.emplace_back() = {
+ gfx::Rect(monitor_scale * geometry.x, monitor_scale * geometry.y,
+ monitor_scale * geometry.width,
+ monitor_scale * geometry.height),
+- monitor_scale * font_scale);
++ static_cast<float>(monitor_scale * font_scale)};
+ }
+ return config;
+ }
diff --git a/chromium-117-no_matching_constructor.patch b/chromium-117-no_matching_constructor.patch
index 76e70a3..e5ab60a 100644
--- a/chromium-117-no_matching_constructor.patch
+++ b/chromium-117-no_matching_constructor.patch
@@ -416,3 +416,17 @@ diff -up chromium-117.0.5938.62/content/browser/renderer_host/render_frame_host_
destination,
/*from_renderer=*/false, info->attribution_reporting_runtime_features,
GetFrameTreeNodeId(), navigation_request.GetNavigationId());
+diff -up chromium-117.0.5938.62/chrome/browser/enterprise/profile_management/profile_management_navigation_throttle.cc.me chromium-117.0.5938.62/chrome/browser/enterprise/profile_management/profile_management_navigation_throttle.cc
+--- chromium-117.0.5938.62/chrome/browser/enterprise/profile_management/profile_management_navigation_throttle.cc.me 2023-09-15 22:04:09.233356627 +0200
++++ chromium-117.0.5938.62/chrome/browser/enterprise/profile_management/profile_management_navigation_throttle.cc 2023-09-15 22:05:44.126063992 +0200
+@@ -67,8 +67,8 @@ base::flat_map<std::string, SAMLProfileA
+ // TODO(crbug.com/1445072): Add actual domains with attribute names.
+ profile_attributes->insert(std::make_pair(
+ "supported.test",
+- SAMLProfileAttributes("placeholderName", "placeholderDomain",
+- "placeholderToken")));
++ SAMLProfileAttributes{"placeholderName", "placeholderDomain",
++ "placeholderToken"}));
+
+ // Extract domains and attributes from the command line switch.
+ const base::CommandLine& command_line =
diff --git a/chromium-117-workaround_clang_bug-structured_binding.patch b/chromium-117-workaround_clang_bug-structured_binding.patch
index 3b79f51..c66cb91 100644
--- a/chromium-117-workaround_clang_bug-structured_binding.patch
+++ b/chromium-117-workaround_clang_bug-structured_binding.patch
@@ -94,3 +94,16 @@ diff -up chromium-117.0.5938.62/third_party/blink/renderer/core/layout/ng/grid/n
const auto* cached_layout_subtree = constraint_space.GridLayoutSubtree();
const auto container_writing_direction =
+diff -up chromium-117.0.5938.62/chrome/browser/ui/autofill/chrome_autofill_client.cc.me chromium-117.0.5938.62/chrome/browser/ui/autofill/chrome_autofill_client.cc
+--- chromium-117.0.5938.62/chrome/browser/ui/autofill/chrome_autofill_client.cc.me 2023-09-15 18:24:18.984133783 +0200
++++ chromium-117.0.5938.62/chrome/browser/ui/autofill/chrome_autofill_client.cc 2023-09-15 18:28:50.420833595 +0200
+@@ -1100,7 +1100,8 @@ void ChromeAutofillClient::PropagateAuto
+ &renderer_form);
+ }
+
+- for (const auto& [frame_token, frame_forms] : renderer_forms_by_frame) {
++ for (const auto& [f_t, frame_forms] : renderer_forms_by_frame) {
++ auto& frame_token = f_t;
+ // Attempt to find the RFH with this `frame_token`.
+ content::RenderFrameHost* rfh = nullptr;
+ GetWebContents().ForEachRenderFrameHost(
reply other threads:[~2026-08-07 16:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178611872920.1.2652322547904431227.rpms-chromium-54f9069a3830@fedoraproject.org \
--to=than@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox