From nobody Fri Jun 09 11:38:27 2023 X-Original-To: dev-commits-ports-all@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 4Qczc41N1Lz4bgmS; Fri, 9 Jun 2023 11:38:28 +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 4Qczc40prmz4JVg; Fri, 9 Jun 2023 11:38:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686310708; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/T6WW9DTkxf6eBT1nRbTifyCqb/5FBTPIYOqK2FNxI4=; b=wenuY2Sz7m9oFhdqwlCCp2Ud/y9Oot+V3VapG3ijXp+eQ9I7OdcxrHoDgoqS0Hw8qSsaMK umcIgVIcVY8Lk1+Iwzz3rdJigS5uwa2AWbss2EPb8+24ur8m9OgXF8D7bSaSA+2mHu+38A njFFQYR42q7Q4YgfiObRdMKRUugWq0gvL5hSNOF6G0KBnTx78loOdoOTZtO+D3xOGztXtL AJWmvmq2rGZ8BMt7KhkNB7nShXEvoVdJgnmJV34heJnsyW5eh4jxwzrxJ5rXiQ7+basuc/ bHHCtCm17VCX3Xs+TONgD8u040nXAXT+fyPvLWWsdfJp7Nvh9aegGVa5mQST8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686310708; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/T6WW9DTkxf6eBT1nRbTifyCqb/5FBTPIYOqK2FNxI4=; b=X7UpYJNFc+4J8MD97fGbEWVLUkL//L30ydHJ5m4YOseUqOXdexDSNOqDvdo8YAUb+120Ar OxiQsGwlSZ7d0UksvTzeONwyCSIFifcZ6RAF1oZpqzdHxItOnuivN+oJbf/oQKYwfwnIhI qIVMYGGI8AMUVfaXsrxfnzqJ7hdZ8Ywcs9xHewpRFh5kjUE7145PjdPD5jDuh+r2MDYjKT c5E2xwc5z3rr6YWc+4cYGwan53VdfE3isrS2dNEe0JTXRJ9qE+6xNdpP6jhly97U0/tidl klG8dRcaIRWt4Nj15QoW8MQxLtQ5D0ejzkqEXDjSRaKGbWV6h5D7P7uPmcsbVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686310708; a=rsa-sha256; cv=none; b=lA55YqCOH3Prugv56U2RUydNFOOwFLdFte+Dh/n1/rgORZFtCE3heE8jpuc88Xshe1lzJ/ 8MYAxwoLBht1Y5jnc4uUQYC+/YNKl5jeJl8Kis0q7RWdYVdpUqj6XsRmVoaUJmjLm/sRdb hJf1RkPXYJ2fGBYJgO/9WaLDLDOC4XqzHwOXMXyFJhNJz5zJho9A0GflqJa55nfNMkfcab OfUjWM5Qp7z4NJ/6dSGpGHltUZPttJ4b0vAsp07eJPvODrsJ30u2LhkOZcucI/NjCO2Xv2 yoa6vUhjlsyd2kE5KxmTnzt8wTP+Vxt9cSPdeWeYRU8bM5deYZu0AM6ZfiuwLQ== 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 4Qczc36w8PzYXm; Fri, 9 Jun 2023 11:38:27 +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 359BcRvJ046684; Fri, 9 Jun 2023 11:38:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 359BcRfR046683; Fri, 9 Jun 2023 11:38:27 GMT (envelope-from git) Date: Fri, 9 Jun 2023 11:38:27 GMT Message-Id: <202306091138.359BcRfR046683@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: 4bd3e53dbd2e - main - www/librewolf: Fix build with rust 1.70.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4bd3e53dbd2e8abe24dcd49da5345a2ada492d00 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=4bd3e53dbd2e8abe24dcd49da5345a2ada492d00 commit 4bd3e53dbd2e8abe24dcd49da5345a2ada492d00 Author: Mikael Urankar AuthorDate: 2023-06-09 07:24:33 +0000 Commit: Mikael Urankar CommitDate: 2023-06-09 11:38:16 +0000 www/librewolf: Fix build with rust 1.70.0 Import an upstream patch to fix a build failure with rust 1.70.0. Obtained from: https://github.com/mozilla/mp4parse-rust/pull/376 PR: 271797 --- www/librewolf/files/patch-rust-1.70.0 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/www/librewolf/files/patch-rust-1.70.0 b/www/librewolf/files/patch-rust-1.70.0 new file mode 100644 index 000000000000..233e51bee164 --- /dev/null +++ b/www/librewolf/files/patch-rust-1.70.0 @@ -0,0 +1,33 @@ +https://github.com/mozilla/mp4parse-rust/commit/8b5b652d38e007e736bb442ccd5aa5ed699db100 + +From 8b5b652d38e007e736bb442ccd5aa5ed699db100 Mon Sep 17 00:00:00 2001 +From: Matthew Gregan +Date: Thu, 16 Jun 2022 13:54:02 +1200 +Subject: [PATCH] Fix `unstable-name-collisions` warning by using fully + qualified path. + +--- + mp4parse/src/lib.rs | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/mp4parse/src/lib.rs b/mp4parse/src/lib.rs +index 567ee21d..4f3d7153 100644 +--- third_party/rust/mp4parse/src/lib.rs ++++ third_party/rust/mp4parse/src/lib.rs +@@ -3506,8 +3506,13 @@ macro_rules! impl_mul { + type Output = $output; + + fn mul(self, rhs: $rhs) -> Self::Output { +- static_assertions::const_assert!(<$output>::MAX <= <$inner>::MAX as u64); +- static_assertions::const_assert!(<$lhs>::MAX * <$rhs>::MAX <= <$output>::MAX); ++ static_assertions::const_assert!( ++ <$output as UpperBounded>::MAX <= <$inner>::MAX as u64 ++ ); ++ static_assertions::const_assert!( ++ <$lhs as UpperBounded>::MAX * <$rhs as UpperBounded>::MAX ++ <= <$output as UpperBounded>::MAX ++ ); + + let lhs: $inner = self.get().into(); + let rhs: $inner = rhs.get().into(); +