public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: added Workaround for clang bug
@ 2026-08-07 16:05 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:05 UTC (permalink / raw)
  To: git-commits

         A new commit has been pushed.

         Repo   : rpms/chromium
         Branch : epel9-next
         Commit : 63a44cd6c6fb3d441e9930f5d97717def22084ff
         Author : Than Ngo <than@redhat.com>
         Date   : 2024-01-23T15:20:08+01:00
         Stats  : +17/-0 in 2 file(s)
         URL    : https://src.fedoraproject.org/rpms/chromium/c/63a44cd6c6fb3d441e9930f5d97717def22084ff?branch=epel9-next

         Log:
         added Workaround for clang bug
error: defaulting this default constructor would delete it after its first declaration

---
diff --git a/chromium-121-el7-default-constructor-involving-anonymous-union.patch b/chromium-121-el7-default-constructor-involving-anonymous-union.patch
new file mode 100644
index 0000000..0a2ac1d
--- /dev/null
+++ b/chromium-121-el7-default-constructor-involving-anonymous-union.patch
@@ -0,0 +1,12 @@
+diff -up chromium-121.0.6167.57/content/browser/interest_group/header_direct_from_seller_signals.cc.me chromium-121.0.6167.57/content/browser/interest_group/header_direct_from_seller_signals.cc
+--- chromium-121.0.6167.57/content/browser/interest_group/header_direct_from_seller_signals.cc.me	2024-01-23 15:13:11.469104694 +0100
++++ chromium-121.0.6167.57/content/browser/interest_group/header_direct_from_seller_signals.cc	2024-01-23 15:11:40.117842015 +0100
+@@ -46,7 +46,7 @@ size_t GetResultSizeBytes(const HeaderDi
+ 
+ }  // namespace
+ 
+-HeaderDirectFromSellerSignals::Result::Result() = default;
++HeaderDirectFromSellerSignals::Result::Result() {}
+ 
+ HeaderDirectFromSellerSignals::Result::Result(
+     absl::optional<std::string> seller_signals,

diff --git a/chromium.spec b/chromium.spec
index c0309aa..f8b441e 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -360,6 +360,10 @@ Patch100: chromium-116-el7-include-fcntl-memfd.patch
 # add define HAVE_STRNDUP on epel7
 Patch101: chromium-108-el7-wayland-strndup-error.patch
 
+# Workaround for old clang
+# error: defaulting this default constructor would delete it after its first declaration
+Patch102: chromium-121-el7-default-constructor-involving-anonymous-union.patch
+
 # Work around old and missing headers on EPEL7
 Patch103: chromium-110-epel7-old-headers-workarounds.patch
 
@@ -1026,6 +1030,7 @@ udev.
 %if 0%{?rhel} == 7
 %patch -P100 -p1 -b .el7-memfd-fcntl-include
 %patch -P101 -p1 -b .wayland-strndup-error
+%patch -P102 -p1 -b .default-constructor-involving-anonymous-union
 %patch -P103 -p1 -b .epel7-header-workarounds
 %patch -P104 -p1 -b .el7cups
 %patch -P105 -p1 -b .el7-old-libdrm

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 16:05 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:05 [rpms/chromium] epel9-next: added Workaround for clang bug Than Ngo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox