public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Fix build error due to old clang18 in el 8/9 and f40
@ 2026-08-07 16:07 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 07ebb27a114dd539247ae4bf6a1514d4ddd5c53a
Author : Than Ngo <than@redhat.com>
Date : 2025-02-10T14:30:40+01:00
Stats : +15/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/07ebb27a114dd539247ae4bf6a1514d4ddd5c53a?branch=epel9-next
Log:
Fix build error due to old clang18 in el 8/9 and f40
---
diff --git a/chromium-133-clang18-template.patch b/chromium-133-clang18-template.patch
new file mode 100644
index 0000000..f95aa57
--- /dev/null
+++ b/chromium-133-clang18-template.patch
@@ -0,0 +1,12 @@
+diff -up chromium-133.0.6943.53/chrome/browser/compose/compose_session.cc.me chromium-133.0.6943.53/chrome/browser/compose/compose_session.cc
+--- chromium-133.0.6943.53/chrome/browser/compose/compose_session.cc.me 2025-02-10 14:16:34.810693753 +0100
++++ chromium-133.0.6943.53/chrome/browser/compose/compose_session.cc 2025-02-10 14:16:39.747791800 +0100
+@@ -543,7 +543,7 @@ void ComposeSession::RequestWithSession(
+ // execution in case request fails.
+ compose::LogComposeRequestReason(request_reason);
+
+- optimization_guide::ModelExecutionSessionCallbackWithLogging callback =
++ optimization_guide::ModelExecutionSessionCallbackWithLogging<optimization_guide::proto::ComposeLoggingData> callback =
+ base::BindRepeating(&ComposeSession::ModelExecutionCallback,
+ weak_ptr_factory_.GetWeakPtr(),
+ std::move(request_timer), request_id_, request_reason,
diff --git a/chromium.spec b/chromium.spec
index fc2691a..893d6eb 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -333,9 +333,11 @@ Patch306: chromium-127-el8-ifunc-header.patch
# workaround for build error due to old atk version on el8
Patch307: chromium-133-el8-atk-compiler-error.patch
+# Fix build errors due to old clang18 in el 8/9 and f40
Patch308: chromium-132-el8-unsupport-clang-flags.patch
Patch309: chromium-132-el8-unsupport-rustc-flags.patch
Patch310: chromium-132-el8-clang18-build-error.patch
+Patch311: chromium-133-clang18-template.patch
# enable fstack-protector-strong
Patch312: chromium-123-fstack-protector-strong.patch
@@ -1029,6 +1031,7 @@ Qt6 UI for chromium.
%patch -P308 -p1 -b .el8-unsupport-clang-flags
%patch -P309 -p1 -b .el8-unsupport-rustc-flags
%patch -P310 -p1 -b .el8-clang18-build-error
+%patch -P311 -p1 -b .clang18-template
%endif
%patch -P312 -p1 -b .fstack-protector-strong
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:07 [rpms/chromium] epel9-next: Fix build error due to old clang18 in el 8/9 and f40 Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox