Skip to content

Commit 0269250

Browse files
fix(aarch64): reverse fedora sanitizer patch (#720)
1 parent 7f4a895 commit 0269250

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

build/trivalent.spec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ Source23: %{chromium_name}.te
9090
Source24: %{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}

copr_script.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ shopt -s nullglob
2020

2121
# copy Fedora patches to the build dir
2222
pushd fedora_patches/
23+
cp chromium-148-v8-sanitize-build-error.patch ../build/
2324
patches=(*.patch)
2425
for ((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
2629
done
2730
popd
2831

0 commit comments

Comments
 (0)