git: 5e9ef674125a - main - games/veloren: Fix build with rust 1.63.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Aug 2022 08:50:09 UTC
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=5e9ef674125a03baa9bae3f138134219d2212428 commit 5e9ef674125a03baa9bae3f138134219d2212428 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2022-08-17 17:28:25 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-08-25 08:50:04 +0000 games/veloren: Fix build with rust 1.63.0 - Update packed_simd_2 to 0.3.8 which fixed the build with rust 1.63.0 - lazy::OnceCell is moved to cell::OnceCell --- games/veloren/Makefile | 2 +- games/veloren/distinfo | 6 +++--- games/veloren/files/patch-rust-1.63 | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 4 deletions(-) diff --git a/games/veloren/Makefile b/games/veloren/Makefile index 4badfde39818..5a84669e10e8 100644 --- a/games/veloren/Makefile +++ b/games/veloren/Makefile @@ -409,7 +409,7 @@ CARGO_CRATES= ab_glyph-0.2.15 \ os_str_bytes-6.0.0 \ owned_ttf_parser-0.6.0 \ owned_ttf_parser-0.15.0 \ - packed_simd_2-0.3.7 \ + packed_simd_2-0.3.8 \ parking_lot-0.10.2 \ parking_lot-0.11.2 \ parking_lot-0.12.0 \ diff --git a/games/veloren/distinfo b/games/veloren/distinfo index 566198c1e6d4..52400ab98f49 100644 --- a/games/veloren/distinfo +++ b/games/veloren/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1658582101 +TIMESTAMP = 1660732539 SHA256 (rust/crates/ab_glyph-0.2.15.crate) = 24606928a235e73cdef55a0c909719cadd72fce573e5713d58cb2952d8f5794c SIZE (rust/crates/ab_glyph-0.2.15.crate) = 15906 SHA256 (rust/crates/ab_glyph_rasterizer-0.1.5.crate) = a13739d7177fbd22bb0ed28badfff9f372f8bef46c863db4e1c6248f6b223b6e @@ -751,8 +751,8 @@ SHA256 (rust/crates/owned_ttf_parser-0.6.0.crate) = 9f923fb806c46266c02ab4a5b239 SIZE (rust/crates/owned_ttf_parser-0.6.0.crate) = 20574 SHA256 (rust/crates/owned_ttf_parser-0.15.0.crate) = 4fb1e509cfe7a12db2a90bfa057dfcdbc55a347f5da677c506b53dd099cfec9d SIZE (rust/crates/owned_ttf_parser-0.15.0.crate) = 23088 -SHA256 (rust/crates/packed_simd_2-0.3.7.crate) = defdcfef86dcc44ad208f71d9ff4ce28df6537a4e0d6b0e8e845cb8ca10059a6 -SIZE (rust/crates/packed_simd_2-0.3.7.crate) = 97413 +SHA256 (rust/crates/packed_simd_2-0.3.8.crate) = a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282 +SIZE (rust/crates/packed_simd_2-0.3.8.crate) = 97388 SHA256 (rust/crates/parking_lot-0.10.2.crate) = d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e SIZE (rust/crates/parking_lot-0.10.2.crate) = 39536 SHA256 (rust/crates/parking_lot-0.11.2.crate) = 7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99 diff --git a/games/veloren/files/patch-rust-1.63 b/games/veloren/files/patch-rust-1.63 new file mode 100644 index 000000000000..5050354349f1 --- /dev/null +++ b/games/veloren/files/patch-rust-1.63 @@ -0,0 +1,36 @@ +--- Cargo.lock.orig 2022-08-17 12:36:05 UTC ++++ Cargo.lock +@@ -4025,9 +4025,9 @@ name = "packed_simd_2" + + [[package]] + name = "packed_simd_2" +-version = "0.3.7" ++version = "0.3.8" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "defdcfef86dcc44ad208f71d9ff4ce28df6537a4e0d6b0e8e845cb8ca10059a6" ++checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282" + dependencies = [ + "cfg-if 1.0.0", + "libm 0.1.4", +@@ -6241,7 +6241,7 @@ dependencies = [ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0" + dependencies = [ +- "cfg-if 1.0.0", ++ "cfg-if 0.1.10", + "rand 0.8.5", + "static_assertions", + ] + + +--- voxygen/src/scene/terrain.rs.orig 2022-08-17 11:42:07.587067000 +0000 ++++ voxygen/src/scene/terrain.rs 2022-08-17 11:43:10.451160000 +0000 +@@ -555,7 +557,7 @@ impl SpriteRenderContext { + } + }); + +- let init = core::lazy::OnceCell::new(); ++ let init = core::cell::OnceCell::new(); + let mut join_handle = Some(join_handle); + let mut closure = move |renderer: &mut Renderer| { + // The second unwrap can only fail if the sprite meshing thread panics, which