diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2021-02-04 17:36:51 +0100 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2021-02-04 17:38:21 +0100 |
commit | e803678dfa1bbe839d36a898d522e62fb04c65f2 (patch) | |
tree | d7bba1c9782aa95860ce85147f1999b774ade597 | |
parent | Merge branch 'disable-dpkg-divert' into 'master' (diff) | |
download | librewolf-debian-e803678dfa1bbe839d36a898d522e62fb04c65f2.tar.gz librewolf-debian-e803678dfa1bbe839d36a898d522e62fb04c65f2.tar.bz2 librewolf-debian-e803678dfa1bbe839d36a898d522e62fb04c65f2.zip |
allow an older cargo version until 0.48 is in SID
-rwxr-xr-x | scripts/prep-librewolf-dpkg.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh index 8240869..c8554c6 100755 --- a/scripts/prep-librewolf-dpkg.sh +++ b/scripts/prep-librewolf-dpkg.sh @@ -147,6 +147,10 @@ ac_add_options --disable-elf-hack ac_add_options --enable-optimize EOF +# workaround to allow an older cargo version until 0.48 is available in SID +sed -i 's/cargo (>= 0.48),/cargo (>= 0.46),/g' "${debian_dir}"/control.in +sed -i 's/cargo (>= 0.48),/cargo (>= 0.46),/g' "${debian_dir}"/control + # add patches to debian/patches mkdir -p "${debian_dir}"/patches/librewolf cp -pr "${git_source_dir}"/linux/megabar.patch "${git_source_dir}"/linux/remove_addons.patch \ @@ -166,6 +170,7 @@ librewolf/sandbox-update-arm-syscall-numbers.patch -p1 librewolf/remove_addons.patch -p1 librewolf/megabar.patch -p1 librewolf/reduce-rust-debuginfo.patch -p1 +librewolf/relax-cargo-dep.patch -p1 EOF # observe that build-with-libstdc++-7 is disabled for this dpkg. Debian builds Firefox with gcc, not clang. # fix some fuzz in remove_addons.patch. The space is important! |