From nobody Tue Jun 20 10:29:17 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 4QljY95p1Wz4g8dV; Tue, 20 Jun 2023 10:29:17 +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 4QljY95LpPz3vs0; Tue, 20 Jun 2023 10:29:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687256957; 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=NqQuDH6gw0+bMXh31xJT7LF5CKt47XfZ9fF4UQqly4w=; b=M5j7QfK7lEY6YtuSm42v+Po8PK3M9NwzU2NbdJIGupfY4Sm57IV/tDJCQ+g3qLZBXLaTqT VFoK7N7u8Z5Sleyr0t0QxjsdGO3uWrT+hjFCn4/ToY9Zof1qwcwk0JIfASp7/jpdGLTdD0 eudR2SrkZlCDwvnDlgyYXJNUGrVRjs/9kMFbK88+C5sdojoqWUxx9jH7B7IJED8Fr8CTGJ +Qirvl3dIhSYvqhFoMfS28deFLXWfal5Mo7mT6WuYsLDl3axLKj/QNTDyK2foUGxOkv2FC HzIA6tZAhGgvw3K89zt6bI1722y1r2Xghg6HWdcn6H8eBBvE05oz0LQ4Pf8ijw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687256957; 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=NqQuDH6gw0+bMXh31xJT7LF5CKt47XfZ9fF4UQqly4w=; b=xdfghojnG+UNCKj4Gz4NuWIUfYl0WuqD0dxRFQ+wLzmbwva8CKt4YF97x5PZA01B0seFN8 35MTjFDqhET0NNvfJqqzZh1cV+jPrYdiwDDjN6MPkk7U0LouBYL7WN4FmEYJjRmi4UqhrB j2Tw3xTZ7lNbFjP55Br3FTv0SM5ReLMaV7/tg7nnfOni5PNnAZAB7ZMr4RJFQw6PXbdr2h gondEoafE9Ax5tsmbJ91V26YuVfUJ7+abWTdOfBX0WIKzyWXoj+li7mBJYSTZFO+cWxDPq QvGIcFNg+VUBeWujIj/QPRKJaw425+OwLpEzv3pE/x9DIrya7FsDkfT6IFTFGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687256957; a=rsa-sha256; cv=none; b=n/wYVSlvlGSNItyWrbvwO9wDnTTivTe+dpltsgK7zl64wExfqppoErDhu4CBU7OGNAntju VUpcdHVzkYC08OK98Zk7Tjf/cxV+27CXOOmpV77whGfE6c7NzkqpDTi2Ujy7NzMV/pizFw yry3s/dlCSZKQhBQ3ObDdPm9hyCjtKH8vYlIJble2fUiPKVrukZty+nd3Vo8BsNJKHmOgU kO9u+cdGcyCuqtUMDprvZm60gF+uo2nWGIH2e038FPeuU2UuX8iYz5uayAfNAfvc6ckJbk 3rqNhDj5ymIUwC1C508Zormexgx0xkgTH7lY2hJ/UTas2crDQtjfZd0CRd+TaQ== 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 4QljY94Dhgzw72; Tue, 20 Jun 2023 10:29:17 +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 35KATHKF050355; Tue, 20 Jun 2023 10:29:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35KATHso050354; Tue, 20 Jun 2023 10:29:17 GMT (envelope-from git) Date: Tue, 20 Jun 2023 10:29:17 GMT Message-Id: <202306201029.35KATHso050354@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: c37fc7b70297 - main - lang/rust-nightly: Update to 2023-06-12 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: c37fc7b70297a93dee20db5c2ad4ad07f9aaded1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=c37fc7b70297a93dee20db5c2ad4ad07f9aaded1 commit c37fc7b70297a93dee20db5c2ad4ad07f9aaded1 Author: Mikael Urankar AuthorDate: 2023-06-19 12:39:14 +0000 Commit: Mikael Urankar CommitDate: 2023-06-20 10:29:13 +0000 lang/rust-nightly: Update to 2023-06-12 --- lang/rust-nightly/Makefile | 6 ++--- lang/rust-nightly/distinfo | 18 +++++++-------- .../patch-library_std_src_os_unix_net_ancillary.rs | 27 ++++++++++++++++++++++ 3 files changed, 39 insertions(+), 12 deletions(-) diff --git a/lang/rust-nightly/Makefile b/lang/rust-nightly/Makefile index 9a57079844da..069acf0ef26d 100644 --- a/lang/rust-nightly/Makefile +++ b/lang/rust-nightly/Makefile @@ -1,5 +1,5 @@ # Run update.sh to update to the latest nightly -PORTVERSION= 1.69.0.${NIGHTLY_DATE:C,-,,g} +PORTVERSION= 1.72.0.${NIGHTLY_DATE:C,-,,g} # Always set PORTREVISION explicitly as otherwise it is inherited from lang/rust PORTREVISION= 0 PKGNAMESUFFIX= -nightly @@ -14,8 +14,8 @@ MASTERDIR= ${.CURDIR}/../rust PATCHDIR= ${.CURDIR}/files DISTINFO_FILE= ${.CURDIR}/distinfo -NIGHTLY_DATE= 2023-02-08 -BOOTSTRAPS_DATE= 2023-01-25 +NIGHTLY_DATE= 2023-06-12 +BOOTSTRAPS_DATE= 2023-05-30 RUST_BOOTSTRAP_VERSION= beta .include "${MASTERDIR}/Makefile" diff --git a/lang/rust-nightly/distinfo b/lang/rust-nightly/distinfo index f88b6f3b2778..8e5c9d60eb59 100644 --- a/lang/rust-nightly/distinfo +++ b/lang/rust-nightly/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1675935517 -SHA256 (rust/2023-02-08/rustc-nightly-src.tar.xz) = 2abcc8bc95795785bf2a2f17261d9d4cee66b0d05785c66c933c79885da9c762 -SIZE (rust/2023-02-08/rustc-nightly-src.tar.xz) = 145013968 -SHA256 (rust/2023-01-25/rustc-beta-x86_64-unknown-freebsd.tar.xz) = 2647f9420cc4b2a2a94b32ef6c7d88285bb50c3b04bbd29bdc11f6e5fb8f9c4f -SIZE (rust/2023-01-25/rustc-beta-x86_64-unknown-freebsd.tar.xz) = 88303588 -SHA256 (rust/2023-01-25/rust-std-beta-x86_64-unknown-freebsd.tar.xz) = 20c2d1d3e64f56f00c237ae261d5880a7fd7c6f1e2360dc7fa0039b3ea932c66 -SIZE (rust/2023-01-25/rust-std-beta-x86_64-unknown-freebsd.tar.xz) = 30753880 -SHA256 (rust/2023-01-25/cargo-beta-x86_64-unknown-freebsd.tar.xz) = 9466a4417a1ea6a9ab03ea7d05f747a731ed0bf5545148a1c782c797dcff50a9 -SIZE (rust/2023-01-25/cargo-beta-x86_64-unknown-freebsd.tar.xz) = 7141356 +TIMESTAMP = 1686662255 +SHA256 (rust/2023-06-12/rustc-nightly-src.tar.xz) = 327c46f4ba914ba8fd71f5ed067f0abd4880694bd7fd9d5e8b8b89a260dc4971 +SIZE (rust/2023-06-12/rustc-nightly-src.tar.xz) = 152486760 +SHA256 (rust/2023-05-30/rustc-beta-x86_64-unknown-freebsd.tar.xz) = f385fe29efd16b08d8f0a7c71450a7880d640992d762f941468ecf57d6d6cd35 +SIZE (rust/2023-05-30/rustc-beta-x86_64-unknown-freebsd.tar.xz) = 72869772 +SHA256 (rust/2023-05-30/rust-std-beta-x86_64-unknown-freebsd.tar.xz) = 0babdccec106b4cd20574c9722b36e407a1d028856989ff5e390172876ab3e28 +SIZE (rust/2023-05-30/rust-std-beta-x86_64-unknown-freebsd.tar.xz) = 26135420 +SHA256 (rust/2023-05-30/cargo-beta-x86_64-unknown-freebsd.tar.xz) = 96984a716ac37b2888181b00939c975a544cdf21a0dc1db5bcd5b4468e28eeab +SIZE (rust/2023-05-30/cargo-beta-x86_64-unknown-freebsd.tar.xz) = 7502952 diff --git a/lang/rust-nightly/files/patch-library_std_src_os_unix_net_ancillary.rs b/lang/rust-nightly/files/patch-library_std_src_os_unix_net_ancillary.rs new file mode 100644 index 000000000000..d42b6b9405de --- /dev/null +++ b/lang/rust-nightly/files/patch-library_std_src_os_unix_net_ancillary.rs @@ -0,0 +1,27 @@ +From 513f28db0a540725bc41f080a0f52973af67c3db Mon Sep 17 00:00:00 2001 +From: MikaelUrankar +Date: Tue, 13 Jun 2023 13:14:06 +0200 +Subject: [PATCH] Fix building the documentation on FreeBSD. + +It fixes the following error: +error[E0412]: cannot find type `sockcred2` in module `libc` + --> library/std/src/os/unix/net/ancillary.rs:211:29 + | +211 | pub struct SocketCred(libc::sockcred2); + | ^^^^^^^^^ not found in `libc` +--- + library/std/src/os/unix/net/ancillary.rs | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/library/std/src/os/unix/net/ancillary.rs b/library/std/src/os/unix/net/ancillary.rs +index 7565fbc0d099c..814f1c7c2838e 100644 +--- library/std/src/os/unix/net/ancillary.rs ++++ library/std/src/os/unix/net/ancillary.rs +@@ -17,6 +17,7 @@ mod libc { + pub use libc::c_int; + pub struct ucred; + pub struct cmsghdr; ++ pub struct sockcred2; + pub type pid_t = i32; + pub type gid_t = u32; + pub type uid_t = u32;