added Workaround for clang bug

error: defaulting this default constructor would delete it after its first declaration
epel8 imports/e9/chromium-121.0.6167.71-1.el9
Than Ngo 11 months ago
parent 1bc897ee19
commit 63a44cd6c6

@ -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,

@ -360,6 +360,10 @@ Patch100: chromium-116-el7-include-fcntl-memfd.patch
# add define HAVE_STRNDUP on epel7 # add define HAVE_STRNDUP on epel7
Patch101: chromium-108-el7-wayland-strndup-error.patch 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 # Work around old and missing headers on EPEL7
Patch103: chromium-110-epel7-old-headers-workarounds.patch Patch103: chromium-110-epel7-old-headers-workarounds.patch
@ -1026,6 +1030,7 @@ udev.
%if 0%{?rhel} == 7 %if 0%{?rhel} == 7
%patch -P100 -p1 -b .el7-memfd-fcntl-include %patch -P100 -p1 -b .el7-memfd-fcntl-include
%patch -P101 -p1 -b .wayland-strndup-error %patch -P101 -p1 -b .wayland-strndup-error
%patch -P102 -p1 -b .default-constructor-involving-anonymous-union
%patch -P103 -p1 -b .epel7-header-workarounds %patch -P103 -p1 -b .epel7-header-workarounds
%patch -P104 -p1 -b .el7cups %patch -P104 -p1 -b .el7cups
%patch -P105 -p1 -b .el7-old-libdrm %patch -P105 -p1 -b .el7-old-libdrm

Loading…
Cancel
Save