forked from pool/alacritty
Accepting request 862261 from home:Andreas_Schwab:Factory
- Fix build on riscv64 OBS-URL: https://build.opensuse.org/request/show/862261 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=40
This commit is contained in:
parent
5bd9e40e31
commit
5cc1283965
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 11 11:01:09 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Fix build on riscv64
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 9 20:13:10 UTC 2021 - Matthias Eliasson <elimat@opensuse.org>
|
Sat Jan 9 20:13:10 UTC 2021 - Matthias Eliasson <elimat@opensuse.org>
|
||||||
|
|
||||||
|
@ -72,11 +72,14 @@ The official zsh completion script for alacritty.
|
|||||||
%define cargo_registry $(pwd)/vendor
|
%define cargo_registry $(pwd)/vendor
|
||||||
%cargo_prep
|
%cargo_prep
|
||||||
|
|
||||||
%ifarch aarch64 ppc64le
|
%ifarch aarch64 ppc64le riscv64
|
||||||
# Remove checksum of config.guess and config.sub since aarch64 and ppc64le modify them
|
# Remove checksum of config.guess and config.sub since aarch64 and ppc64le modify them
|
||||||
sed -i 's#"expat/conftools/config.guess":"ebaffe1c6683ae2c3dcabb87825a83b892f00391514756f7640c4a3dcafbad4f",##g' ./vendor/expat-sys/.cargo-checksum.json
|
sed -i 's#"expat/conftools/config.guess":"ebaffe1c6683ae2c3dcabb87825a83b892f00391514756f7640c4a3dcafbad4f",##g' ./vendor/expat-sys/.cargo-checksum.json
|
||||||
sed -i 's#"expat/conftools/config.sub":"523cb028db907d1fbbcecdcac6737f9e2eeba48fb639231dbc5ae69238f276c9",##g' ./vendor/expat-sys/.cargo-checksum.json
|
sed -i 's#"expat/conftools/config.sub":"523cb028db907d1fbbcecdcac6737f9e2eeba48fb639231dbc5ae69238f276c9",##g' ./vendor/expat-sys/.cargo-checksum.json
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch riscv64
|
||||||
|
sed -i -e 's#"config.guess":"e0c1d7ef8ce964fb57c35e7704ae8661d7e4ca87d6a3c18950e503ae26b62319",##' -e 's#"config.sub":"f7e62c3cb15cd5bbc4e7f3617793b227481fc554d39697a9c322a266d20fb626",##' vendor/servo-fontconfig-sys/.cargo-checksum.json
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CARGO_NET_OFFLINE=true
|
export CARGO_NET_OFFLINE=true
|
||||||
|
Loading…
Reference in New Issue
Block a user