Skip to content

Commit

Permalink
lang/rust-nightly: Update to 2023-06-12
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelUrankar committed Jun 20, 2023
1 parent d8f661b commit c37fc7b
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 12 deletions.
6 changes: 3 additions & 3 deletions 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
Expand All @@ -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"
18 changes: 9 additions & 9 deletions 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
@@ -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;

0 comments on commit c37fc7b

Please sign in to comment.