public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qt6-qtwebengine] rawhide: Fix V8 build error
@ 2026-08-25 6:25 Jan Grulich
0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-08-25 6:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/qt6-qtwebengine
Branch : rawhide
Commit : 3ed134173b0b1cb29a8c984a99ece24b816f92b5
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2026-08-25T08:24:53+02:00
Stats : +19/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/qt6-qtwebengine/c/3ed134173b0b1cb29a8c984a99ece24b816f92b5?branch=rawhide
Log:
Fix V8 build error
---
diff --git a/qt6-qtwebengine.spec b/qt6-qtwebengine.spec
index 13c0998..32ba45c 100644
--- a/qt6-qtwebengine.spec
+++ b/qt6-qtwebengine.spec
@@ -137,6 +137,7 @@ Patch80: qtwebengine-fix-arm-build.patch
## Upstreamable patches:
Patch101: qtwebengine-fix-build-against-gcc16.patch
Patch102: qtwebengine-fix-delay-signature.patch
+Patch103: qtwebengine-fix-v8-kMaximalBufferSize-private.patch
## ppc64le port
Patch200: qtwebengine-6.9-ppc64.patch
@@ -498,6 +499,7 @@ popd
## upstreamable patches
%patch -P101 -p1 -b .fix-build-against-gcc16
%patch -P102 -p1 -b .fix-delay-signature
+%patch -P103 -p1 -b .fix-v8-kMaximalBufferSize-private
# ppc64le support
%patch -P200 -p1
diff --git a/qtwebengine-fix-v8-kMaximalBufferSize-private.patch b/qtwebengine-fix-v8-kMaximalBufferSize-private.patch
new file mode 100644
index 0000000..5e5d186
--- /dev/null
+++ b/qtwebengine-fix-v8-kMaximalBufferSize-private.patch
@@ -0,0 +1,17 @@
+diff --git a/src/3rdparty/chromium/v8/src/baseline/baseline-compiler.cc b/src/3rdparty/chromium/v8/src/baseline/baseline-compiler.cc
+--- a/src/3rdparty/chromium/v8/src/baseline/baseline-compiler.cc
++++ b/src/3rdparty/chromium/v8/src/baseline/baseline-compiler.cc
+@@ -275,11 +275,11 @@ std::unique_ptr<AssemblerBuffer> AllocateBuffer(
+ }
+ int raw_estimated_size;
+ if (!estimated_size.AssignIfValid(&raw_estimated_size) ||
+- raw_estimated_size > Assembler::kMaximalBufferSize) {
++ raw_estimated_size > AssemblerBase::kMaximalBufferSize) {
+ V8::FatalProcessOutOfMemory(nullptr, "BaselineCompiler::AllocateBuffer");
+ }
+ int rounded_size = RoundUp(raw_estimated_size, 4 * KB);
+- if (rounded_size > Assembler::kMaximalBufferSize) {
++ if (rounded_size > AssemblerBase::kMaximalBufferSize) {
+ V8::FatalProcessOutOfMemory(nullptr, "BaselineCompiler::AllocateBuffer");
+ }
+ return NewAssemblerBuffer(rounded_size);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-25 6:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 6:25 [rpms/qt6-qtwebengine] rawhide: Fix V8 build error Jan Grulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox