File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,6 +90,10 @@ Source23: %{chromium_name}.te
9090Source24: %{chromium_name }-drm-fix-secontexts.conf
9191%endif
9292
93+ %if %{use_system_toolchain }
94+ Patch9999: chromium-148-v8-sanitize-build-error.patch
95+ %endif
96+
9397### Patches ###
9498%{lua:
9599 rpm.execute("pwd")
@@ -393,6 +397,7 @@ Provides: bundled(zstd)
393397%if %{use_system_toolchain }
394398# License: MIT
395399%autopatch -p1 -m 1000 -M %{_fedoraPatchCount }
400+ %patch -P9999 -p1 -R -b .v8-sanitize-build-error
396401%endif
397402# License: GPL-2.0-Only
398403%autopatch -p1 -m 2000 -M %{_vanadiumPatchCount }
Original file line number Diff line number Diff line change @@ -20,9 +20,12 @@ shopt -s nullglob
2020
2121# copy Fedora patches to the build dir
2222pushd fedora_patches/
23+ cp chromium-148-v8-sanitize-build-error.patch ../build/
2324patches=(* .patch)
2425for (( i= 0 ; i< ${# patches[@]} ; i++ )) ; do
25- cp " ${patches[i]} " " ../build/fedora-$(( i+ 1000 )) .patch"
26+ if [[ " ${patches[i]} " != " chromium-148-v8-sanitize-build-error.patch" ]]; then
27+ cp " ${patches[i]} " " ../build/fedora-$(( i+ 1000 )) .patch"
28+ fi
2629done
2730popd
2831
You can’t perform that action at this time.
0 commit comments