From nobody Fri Jun 09 11:38:26 2023 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 4Qczc31TdDz4bgpd; Fri, 9 Jun 2023 11:38:27 +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 4Qczc303j1z4JDV; Fri, 9 Jun 2023 11:38:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686310707; 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=6FmrheTt2Lr++c07+VTqlpDnV4rgm+Acc+2MxywYjdw=; b=RayrTsj3OXO0z0Kw6ahTkJ8/lKqEecb7+/q7nKxQtGqqRxLZ1bemqPWmqUW8HzeIv3Ez9s lTg7hQqlafZkNsaF5IgBkBaMPYflG/oap6ZwKDefUMbRenE85b4LgzD3wiAS7Asq6yt/N3 OKRIANTMzm4UevAGgxBV2MJkLaPA0tlcFEjLtfJhQ4dswkw7MUAlnTDnFNhYsYnwK8Ienn K3no952/l5yWydIKSkumq8mRFHbI88qL5Qp7sI1Hk8EGANbyfAHmNgFwf1qOuFo+wQLFDf 0O2VbTlMQTolRqQMu9GSoUZOP0W2MZAPcVoPc+zeTuALVQuwPC0NFm8GCNC4uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686310707; 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=6FmrheTt2Lr++c07+VTqlpDnV4rgm+Acc+2MxywYjdw=; b=fLd5IznCSMa6z96bcOE/6mlvTI3+itfwNlInbgyLkII2bAz+8t9luDbeRcb6GKJKzt1iLS 9rdoPQhVTUnvHBgTO4mqKdBEF600qEqhxHn/p21dt78jpMB61wQQHBVnUe8YeyhJVdm6D5 l4fuViCqNPqHT0zNqW+sNtA4PWfXChEfcm3TzOCHykdi1XH1/ekkPtKZNbSTCR/jgf5ZDQ RJmsK/azNJ392KZkll1kQ/cbr87/ne83sJumxtJ8Eee9ip5si1Wpm+BlIIx5LpaBgC2cX5 Wrcm8vD6gMccJ2ZnVe/fGYlgKKUIxyuz/pcVEGMxDnI51YPYThC0h7CXPAKDAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686310707; a=rsa-sha256; cv=none; b=hCNbMnlhm26EuEEO7PH4t/NKWPE6/Z7ZQpIJ0AZtkbqIoZfDdudexoyAKZmFnRJMaWqFUw bvycg25mvu/kaitwIlZc9NRurgId7Ky+i+/9k39E5Kpg730mjCpd8sLlOGpIIQ/a8TA1K3 Yt8n8RsFHCS7TnWdE6zmU0ZqJNhC/8xUjhDiFRYHqiSlXLzYdkPI94VPMKNVF7ZETvTe8z w4tv6cdoshzngG6w0UsklYqS+lDzOAH9DLTsLee7VuyoisA+oLWKQGLEk2FC2/K5+bS8Gb KeVIlgcLDWswhE5SP9WJ+yFalqYSBvm8AjIE/EdPcAzgaileOf9t1p6S0YdkPQ== 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 4Qczc25yDbzYXl; Fri, 9 Jun 2023 11:38:26 +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 359BcQGG046664; Fri, 9 Jun 2023 11:38:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 359BcQcQ046663; Fri, 9 Jun 2023 11:38:26 GMT (envelope-from git) Date: Fri, 9 Jun 2023 11:38:26 GMT Message-Id: <202306091138.359BcQcQ046663@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: 079eb8f6d4a5 - main - mail/thunderbird: Fix build with rust 1.70.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: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 079eb8f6d4a5357aed0c1d4ad33f3a61ed7fbab2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=079eb8f6d4a5357aed0c1d4ad33f3a61ed7fbab2 commit 079eb8f6d4a5357aed0c1d4ad33f3a61ed7fbab2 Author: Mikael Urankar AuthorDate: 2023-06-09 07:10:48 +0000 Commit: Mikael Urankar CommitDate: 2023-06-09 11:38:15 +0000 mail/thunderbird: 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 --- mail/thunderbird/files/patch-rust-1.70.0 | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/mail/thunderbird/files/patch-rust-1.70.0 b/mail/thunderbird/files/patch-rust-1.70.0 new file mode 100644 index 000000000000..233e51bee164 --- /dev/null +++ b/mail/thunderbird/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(); +