Related: #2211006 Fix FTBFS with clang LLVM 16 also on c8s/rhel-8.9.0

This commit is contained in:
Eike Rathke 2023-06-14 13:52:22 +02:00
parent 7aace6ee0f
commit fd601b933f

View File

@ -648,7 +648,7 @@ echo "use_rustts %{?use_rustts}"
%patch424 -p1 -b .svg-rendering
%patch425 -p1 -b .D158770.diff
%if 0%{?fedora} >= 38 || (0%{?rhel} == 9 && %{rhel9_minor_version} >= 3)
%if 0%{?fedora} >= 38 || (0%{?rhel} == 9 && %{rhel9_minor_version} >= 3) || (0%{?rhel} == 8 && %{rhel8_minor_version} >= 9)
# MUST ONLY be applied for building against clang LLVM 16.
# Would crash with earlier clang.
%patch -P 427 -p1 -b .rust-bindgen-2319-2339