From nobody Mon Oct 25 08:57:36 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A90C0181181A; Mon, 25 Oct 2021 08:57:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hd83n4ksxz4mXx; Mon, 25 Oct 2021 08:57:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 32E5325BFE; Mon, 25 Oct 2021 08:57:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19P8vaRU099724; Mon, 25 Oct 2021 08:57:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19P8vaZ0099723; Mon, 25 Oct 2021 08:57:36 GMT (envelope-from git) Date: Mon, 25 Oct 2021 08:57:36 GMT Message-Id: <202110250857.19P8vaZ0099723@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Tobias Kortkamp Subject: git: fc2f1d2b164f - main - www/firefox: Unbreak build with Rust 1.56.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tobik X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fc2f1d2b164f4fca311e796b9bb3a78aa6dd4aa9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tobik: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc2f1d2b164f4fca311e796b9bb3a78aa6dd4aa9 commit fc2f1d2b164f4fca311e796b9bb3a78aa6dd4aa9 Author: Tobias Kortkamp AuthorDate: 2021-10-20 11:44:24 +0000 Commit: Tobias Kortkamp CommitDate: 2021-10-25 08:49:19 +0000 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 --- www/firefox/files/patch-rust-1.56.0 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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,