diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2021-10-20 11:44:24 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2021-10-25 08:49:19 +0000 |
commit | fc2f1d2b164f4fca311e796b9bb3a78aa6dd4aa9 (patch) | |
tree | fffc2e2faa9e3318116982a8658f8adbf2560259 | |
parent | ba8bb92c6189b1d08a0095137cb1ab0f610b9312 (diff) | |
download | ports-fc2f1d2b164f4fca311e796b9bb3a78aa6dd4aa9.tar.gz ports-fc2f1d2b164f4fca311e796b9bb3a78aa6dd4aa9.zip |
www/firefox: Unbreak build with Rust 1.56.0
error[E0557]: feature has been removed
--> /wrkdirs/usr/ports/www/firefox/work/firefox-93.0/third_party/rust/packed_simd/src/lib.rs:203:5
|
203 | const_generics,
| ^^^^^^^^^^^^^^ feature has been removed
|
= note: removed in favor of `#![feature(adt_const_params]` and `#![feature(generic_const_exprs)]`
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-10-19_17h56m28s/logs/errors/firefox-93.0_2,2.log
PR: 259251
-rw-r--r-- | www/firefox/files/patch-rust-1.56.0 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www/firefox/files/patch-rust-1.56.0 b/www/firefox/files/patch-rust-1.56.0 new file mode 100644 index 000000000000..180eb3bdf244 --- /dev/null +++ b/www/firefox/files/patch-rust-1.56.0 @@ -0,0 +1,21 @@ +error[E0557]: feature has been removed + --> /wrkdirs/usr/ports/www/firefox/work/firefox-93.0/third_party/rust/packed_simd/src/lib.rs:203:5 + | +203 | const_generics, + | ^^^^^^^^^^^^^^ feature has been removed + | + = note: removed in favor of `#![feature(adt_const_params]` and `#![feature(generic_const_exprs)]` + +https://github.com/rust-lang/packed_simd/commit/45d5347a0d2187c046a546a477d2a53111cd7713 + +--- third_party/rust/packed_simd/src/lib.rs.orig 2021-10-20 11:41:07 UTC ++++ third_party/rust/packed_simd/src/lib.rs +@@ -200,7 +200,7 @@ + //! preserving, etc. + + #![feature( +- const_generics, ++ adt_const_params, + repr_simd, + rustc_attrs, + platform_intrinsics, |