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: added Workaround for clang bug
Date: Fri, 07 Aug 2026 16:05:55 GMT	[thread overview]
Message-ID: <178611875506.1.11726457133209294363.rpms-chromium-63a44cd6c6fb@fedoraproject.org> (raw)

         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

                 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=178611875506.1.11726457133209294363.rpms-chromium-63a44cd6c6fb@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