Date: Tue, 20 Jun 2023 10:29:17 GMT From: Mikael Urankar <mikael@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c37fc7b70297 - main - lang/rust-nightly: Update to 2023-06-12 Message-ID: <202306201029.35KATHso050354@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=c37fc7b70297a93dee20db5c2ad4ad07f9aaded1 commit c37fc7b70297a93dee20db5c2ad4ad07f9aaded1 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2023-06-19 12:39:14 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> 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 <mikael.urankar@gmail.com> +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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306201029.35KATHso050354>