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 error with llwm < 21: invalid application of 'sizeof' to an incomplete type 'gfx::Transform'
Date: Fri, 07 Aug 2026 16:08:42 GMT [thread overview]
Message-ID: <178611892256.1.5031280522508900070.rpms-chromium-ada551e1a5ac@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : ada551e1a5accee5d311b2293bb9046c5b977468
Author : Than Ngo <than@redhat.com>
Date : 2026-02-13T21:08:45+01:00
Stats : +29/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/ada551e1a5accee5d311b2293bb9046c5b977468?branch=epel9-next
Log:
Fix error with llwm < 21: invalid application of 'sizeof' to an incomplete type 'gfx::Transform'
---
diff --git a/chromium-145-static_assert.patch b/chromium-145-static_assert.patch
new file mode 100644
index 0000000..8ed0ebd
--- /dev/null
+++ b/chromium-145-static_assert.patch
@@ -0,0 +1,20 @@
+diff -up chromium-145.0.7632.45/third_party/blink/renderer/modules/xr/xr_rigid_transform.h.me chromium-145.0.7632.45/third_party/blink/renderer/modules/xr/xr_rigid_transform.h
+--- chromium-145.0.7632.45/third_party/blink/renderer/modules/xr/xr_rigid_transform.h.me 2026-02-13 13:32:04.162492668 +0100
++++ chromium-145.0.7632.45/third_party/blink/renderer/modules/xr/xr_rigid_transform.h 2026-02-13 13:33:03.467242224 +0100
+@@ -7,15 +7,12 @@
+
+ #include <memory>
+
++#include "ui/gfx/geometry/transform.h"
+ #include "third_party/blink/renderer/core/typed_arrays/array_buffer_view_helpers.h"
+ #include "third_party/blink/renderer/core/typed_arrays/dom_typed_array.h"
+ #include "third_party/blink/renderer/modules/modules_export.h"
+ #include "third_party/blink/renderer/platform/bindings/script_wrappable.h"
+
+-namespace gfx {
+-class Transform;
+-}
+-
+ namespace blink {
+
+ class DOMPointInit;
diff --git a/chromium.spec b/chromium.spec
index cc3d656..980a64f 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1,5 +1,7 @@
# macro for el10 minor version
+%if 0%{?rhel} == 10
%define rhel_minor_version %(grep -oP '10\.[0-9.]*' /etc/redhat-release | cut -d '.' -f2)
+%endif
%define _lto_cflags %{nil}
%global _default_patch_fuzz 2
@@ -348,6 +350,9 @@ Patch150: chromium-124-qt6.patch
# Disable rust nightly features
Patch301: chromium-144-rust-libadler2.patch
+# Fix error with llwm < 21: invalid application of 'sizeof' to an incomplete type 'gfx::Transform'
+Patch302: chromium-145-static_assert.patch
+
# disable memory tagging (epel8 on aarch64) due to new feature IFUNC-Resolver
# it is not supported in old glibc < 2.30, error: fatal error: 'sys/ifunc.h' file not found
Patch305: chromium-124-el8-arm64-memory_tagging.patch
@@ -1091,6 +1096,10 @@ Qt6 UI for chromium.
%patch -P150 -p1 -b .qt6
%patch -P301 -p1 -b .rust-libadler2
+# alte llvm version < 21 on f42/el9/epel10.1
+%if (0%{?fedora} && 0%{?fedora} < 43) || (0%{?rhel} && 0%{?rhel} < 10) || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 2)
+%patch -P302 -p1 -b .static_assert
+%endif
%if 0%{?rhel} == 8
%ifarch aarch64
reply other threads:[~2026-08-07 16:08 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=178611892256.1.5031280522508900070.rpms-chromium-ada551e1a5ac@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