From 5cc1283965280f02d4a6c6f22e1743caf1a3b47ee6285d8b6c526c0a84e0f2f1 Mon Sep 17 00:00:00 2001 From: Avindra Goolcharan Date: Mon, 11 Jan 2021 19:07:22 +0000 Subject: [PATCH] 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 --- alacritty.changes | 5 +++++ alacritty.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/alacritty.changes b/alacritty.changes index 2b0bc2e..f630c0e 100644 --- a/alacritty.changes +++ b/alacritty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 11 11:01:09 UTC 2021 - Andreas Schwab + +- Fix build on riscv64 + ------------------------------------------------------------------- Sat Jan 9 20:13:10 UTC 2021 - Matthias Eliasson diff --git a/alacritty.spec b/alacritty.spec index 7215377..fcc5e89 100644 --- a/alacritty.spec +++ b/alacritty.spec @@ -72,11 +72,14 @@ The official zsh completion script for alacritty. %define cargo_registry $(pwd)/vendor %cargo_prep -%ifarch aarch64 ppc64le +%ifarch aarch64 ppc64le riscv64 # 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.sub":"523cb028db907d1fbbcecdcac6737f9e2eeba48fb639231dbc5ae69238f276c9",##g' ./vendor/expat-sys/.cargo-checksum.json %endif +%ifarch riscv64 +sed -i -e 's#"config.guess":"e0c1d7ef8ce964fb57c35e7704ae8661d7e4ca87d6a3c18950e503ae26b62319",##' -e 's#"config.sub":"f7e62c3cb15cd5bbc4e7f3617793b227481fc554d39697a9c322a266d20fb626",##' vendor/servo-fontconfig-sys/.cargo-checksum.json +%endif %build export CARGO_NET_OFFLINE=true