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 00000000..0a2ac1de --- /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 seller_signals, diff --git a/chromium.spec b/chromium.spec index c0309aa2..f8b441e2 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