From nobody Mon Feb 19 11:59:49 2024 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 4Tdh116RRJz5Bb38; Mon, 19 Feb 2024 11:59:49 +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 4Tdh1142Jtz3wpC; Mon, 19 Feb 2024 11:59:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708343989; 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=Lbhr0YtxOWvghxKRD6XuMG+lWBLkRaFQfKQh2xVcxiQ=; b=ZaySSI91U7tsmwZkrbWz/soFfUOIyhM0YIRQm1185DPUJ23kT4SIS+N3rbFzMzE9reZnE1 Zs65dqviPZcaHHA+o/bZsOLcCnSAYREp+M6C4mcm16ADuWkVsJIYcmKrGsikzTzj+18BDP iaJGTKuYeKJ0+uLBlnFYDnWPQc/CmrHhkU7CycoXNS9zeiT3GR8qs6tJM6wiyFRgQK78oi me179jb5eOkalVq7auODPdBOiPk3dF/0f7hH1TM0uIPgWItuT3r8NoC2/d1eQqPxhzovHf WxgMitw/0UtwzpI7pts8wIYXvdeDESbXsCyBdq8d3KHV6TWImpOYW70l5gbWtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708343989; 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=Lbhr0YtxOWvghxKRD6XuMG+lWBLkRaFQfKQh2xVcxiQ=; b=YQKc3VcD0TlKe9wbdmh7UEd/rTrE2GI97rYVrnjKlyIKRGFwm5Mj2Eo4brjASYNY0PNe4v hilvmDnZhkSTZYaFr7rqS5hb+8LZGxkGeoYYnS9vqdt/QT44/Ad5XvtPnaTYproruTjNP7 evnriXjYQRRUJHChl+PlasvIZEP14Xm45Mvgm4pRIUWMya5IOPce71vWWnmTq5z1Pu0xy1 PZ0fLc16Gm0soU2UeX3qajWP8dMviS8NnMVRbcSC6QZ3rdNPnuuxhKjd3oRkp7pP8lJuXY Vk4OzGluCzLd1z2iZbZUry2d2UD+svFS25AUj2HdtyiWzUH2bT3Utrbi9S9/iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708343989; a=rsa-sha256; cv=none; b=FT0tz814yGgs5bqaztVHDH4rn7IFm6vW+NrWb1e5s4JoM/xmAM3FNQ3yzePAKglS/ritBX MihD1xSOyDVj3Sj/uPKoAlt08EJPjE1yUxcBjU6UdcLUZ/RDZUGtHN6d10Y47UJKS/Tf/8 /X9+QNQFyWmM8YJCbOG+UWeci6ZXhWAM2gK6fhnN7gpOqfOygbpeLkuSVLn9k9B3bFatLE 982l/oIt2tPvBycy5F9ysTn1VKh2Ezj8PfWmrgytlJgO6ZMlCk9T6wDtkGQj8st+6+5y/8 02mcuBy5Go4k4eqIEwn3zsCFWz2XScd7m1+JeuGyYsQWo6tRIyhuuT0LfpeXlA== 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 4Tdh112zdWzZ05; Mon, 19 Feb 2024 11:59:49 +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 41JBxnsa005659; Mon, 19 Feb 2024 11:59:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41JBxnrW005656; Mon, 19 Feb 2024 11:59:49 GMT (envelope-from git) Date: Mon, 19 Feb 2024 11:59:49 GMT Message-Id: <202402191159.41JBxnrW005656@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: 2e82ac54849c - main - net/rabbiteer: Fix build with rust 1.76.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: 2e82ac54849cbebff77b81da8ede0bb96cfeba46 Auto-Submitted: auto-generated The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=2e82ac54849cbebff77b81da8ede0bb96cfeba46 commit 2e82ac54849cbebff77b81da8ede0bb96cfeba46 Author: Mikael Urankar AuthorDate: 2024-02-10 12:45:11 +0000 Commit: Mikael Urankar CommitDate: 2024-02-19 11:59:02 +0000 net/rabbiteer: 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/net/rabbiteer/work/rabbiteer-rs-c881238/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/net/rabbiteer/files/patch-cargo-crates_rustc-serialize-0.3.24_src_serialize.rs b/net/rabbiteer/files/patch-cargo-crates_rustc-serialize-0.3.24_src_serialize.rs new file mode 100644 index 000000000000..2ec700f0bcf5 --- /dev/null +++ b/net/rabbiteer/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)))) + } + }