From nobody Mon Feb 19 11:59:45 2024 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 4Tdh0y216Mz5BZyJ; Mon, 19 Feb 2024 11:59:46 +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 4Tdh0y15mnz3wcc; Mon, 19 Feb 2024 11:59:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708343986; 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=LUThZbzfnylulkkvxeWIr5qLYsY0ffavNbeDTFerD+8=; b=hhLficGAX3AibymR4WitXK2R/Ka6oSdqOZ8z6zxkSFEyceauYwqswLETTvJtzu4w86X3sa VYu+W+zUSdnyidO1AdQSCvz0ZAf0YD0SQgC2+LCw0WzTbN5VPt2QzhQPEsEx+eS+waKNhj Gfr15NjMx4KtJni3Q0O+H7dUIr8Nko30UKjJHvs6z/93GLbKRibvFWDit53dAelYYvG1l2 sQ4WkjHxZzFvs8+0P7jKqIuNNFVHWf/9i7FeiyqV8w+iwGnljDjeZRDwwpOcs7MJ4Po6JQ VS4qCGzndB8sBzKFuwEYIsq6acxFuQvENEcQzcepnSObmQSz6aMUrDAhYSVS8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708343986; 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=LUThZbzfnylulkkvxeWIr5qLYsY0ffavNbeDTFerD+8=; b=DugWK/kup9gLQ5E7yKbsP0nInWUbypuCUF743PKTfKJO/6yNQw/fj8y8osIjEVnjc2rXiG RlgUGc5x1PNwtbMf1+sOwAE8qb8KWVYtpqlBkbG9fb7Oa5iURSa8Q9SConhW5298TFSCf9 +rAcmBiV2NmPiqYlYe7/9b1uxktq1AMPmGJaBtzNnsewJjA6UeXC+gstP7zBTN0yPQCY8Q zD+l857E99B7e0WAZ70EBGj8sHXt34am6IfnHjSMtzwD1Uu5/DVgmI9bqNAk3f8fo4w5mR lbTPgsWgb709prlsJPXno+70LxSVrK/pq8PneSNQarWtFJpYiz8BpWzpV3bCtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708343986; a=rsa-sha256; cv=none; b=JvFABbI8KzMWa9uRDgOACLOEwAZjirT5mX4yEmcHWw+3fJwwtaKzVP6JxUdc9kpmefwpLp GKtmq0A91hp1REbfcxiYkh41F/dyRxKxD0s8O/xQsWNJ7PRvyDLvu0sKw82MQ4uvRw8unM v4nonDcy/swGFsgxOlkH+KsEx75qVOQzh5p+k8dHVE78sXBWpcoZq5ViGLopYQJWbJoH8G ValkJLKsdKt5f1YfLGeleJQ3LZ9I3B2D088kRrWOVXfIwHiC+FcpA2A+1ICU1qenfzdcWS EIuIZjG3oBEnlhfEX48kwMSh5bLQ+LxSGTrN4V2rqtyQaQgYqL3ZglT9LY0l8A== 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 4Tdh0x710wzZ2W; Mon, 19 Feb 2024 11:59:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41JBxjLU005525; Mon, 19 Feb 2024 11:59:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41JBxjBN005522; Mon, 19 Feb 2024 11:59:45 GMT (envelope-from git) Date: Mon, 19 Feb 2024 11:59:45 GMT Message-Id: <202402191159.41JBxjBN005522@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: f22f38c88199 - main - devel/dtool: Fix build with rust-1.76.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: f22f38c881992ab30935acaf801663739365a6d3 Auto-Submitted: auto-generated The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=f22f38c881992ab30935acaf801663739365a6d3 commit f22f38c881992ab30935acaf801663739365a6d3 Author: Mikael Urankar AuthorDate: 2024-02-10 11:16:04 +0000 Commit: Mikael Urankar CommitDate: 2024-02-19 11:59:02 +0000 devel/dtool: Fix build with rust-1.76.0 Import upstream patch [1] to fix the following error: error[E0310]: the parameter type `T` may not live long enough --> /wrkdirs/usr/ports/devel/dtool/work/dtool-0.12.0/cargo-crates/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [1] https://github.com/rust-lang-deprecated/rustc-serialize/commit/75ce92452a5f7c25a58fdea81e5f6f888630a2c9 PR: 276920 Approved by: portmgr (build fix blanket) --- ...tch-cargo-crates_rustc-serialize-0.3.24_src_serialize.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/devel/dtool/files/patch-cargo-crates_rustc-serialize-0.3.24_src_serialize.rs b/devel/dtool/files/patch-cargo-crates_rustc-serialize-0.3.24_src_serialize.rs new file mode 100644 index 000000000000..2ec700f0bcf5 --- /dev/null +++ b/devel/dtool/files/patch-cargo-crates_rustc-serialize-0.3.24_src_serialize.rs @@ -0,0 +1,13 @@ +https://github.com/rust-lang-deprecated/rustc-serialize/commit/75ce92452a5f7c25a58fdea81e5f6f888630a2c9 + +--- cargo-crates/rustc-serialize-0.3.24/src/serialize.rs.orig 2024-02-10 11:58:37 UTC ++++ cargo-crates/rustc-serialize-0.3.24/src/serialize.rs +@@ -1152,7 +1152,7 @@ impl<'a, T: ?Sized> Decodable for Cow<'a, T> + where T: ToOwned, T::Owned: Decodable + { + #[inline] +- fn decode(d: &mut D) -> Result, D::Error> { ++ fn decode(d: &mut D) -> Result, D::Error> { + Ok(Cow::Owned(try!(Decodable::decode(d)))) + } + }