From a32be5b7c3e8256b6be9c2dc2bfb03045332d299 Mon Sep 17 00:00:00 2001 From: Maksim Bondarenkov <119937608+ognevny@users.noreply.github.com> Date: Thu, 1 Aug 2024 09:32:24 +0300 Subject: [PATCH] turbo: update to 2.0.11 --- mingw-w64-turbo/PKGBUILD | 10 +++------- mingw-w64-turbo/turbo-enable-lazy_cell.patch | 10 ---------- 2 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 mingw-w64-turbo/turbo-enable-lazy_cell.patch diff --git a/mingw-w64-turbo/PKGBUILD b/mingw-w64-turbo/PKGBUILD index 6bb7e15baf..67fca3b30c 100644 --- a/mingw-w64-turbo/PKGBUILD +++ b/mingw-w64-turbo/PKGBUILD @@ -3,7 +3,7 @@ _realname=turbo pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=2.0.9 +pkgver=2.0.11 pkgrel=1 pkgdesc="Incremental bundler and build system optimized for JavaScript and TypeScript (mingw-w64)" arch=('any') @@ -24,21 +24,17 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-rust" options=('!strip') source=("git+${msys2_repository_url}.git#tag=v${pkgver}" "zstd-sys.tar.gz::https://crates.io/api/v1/crates/zstd-sys/2.0.10+zstd.1.5.6/download" - "turbo-enable-lazy_cell.patch" "zstd-sys-remove-statik.patch") -sha256sums=('14f2c25620a23492c4b963960f1017a16dc832c43786885988998f17f66042c7' +sha256sums=('1ea35047d3813fe2da6feb7cd70de49eda6fceddd776570ad709f40b568ccd43' 'c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa' - 'b295ce57777c8b7be2ef2bbd03fca5968e6b8653fcb5c6ceafa47705c387e9bd' '48f4900ceb02d3aaf9a1020f33d56629156e96759f456c0e7ca18bfcf910767b') prepare() { cd "${_realname}" - rm -f rust-toolchain.toml - patch -Np1 -i ../turbo-enable-lazy_cell.patch patch -d ../zstd-sys-2.0.10+zstd.1.5.6 -i ../zstd-sys-remove-statik.patch - sed -i.orig '/\[patch\.crates-io\]/a zstd-sys = { path = "../zstd-sys-2.0.10+zstd.1.5.6" }' Cargo.toml + sed -i '/\[patch\.crates-io\]/a zstd-sys = { path = "../zstd-sys-2.0.10+zstd.1.5.6" }' Cargo.toml cargo update -p zstd-sys RUSTC_BOOTSTRAP=1 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" diff --git a/mingw-w64-turbo/turbo-enable-lazy_cell.patch b/mingw-w64-turbo/turbo-enable-lazy_cell.patch deleted file mode 100644 index 492f5c876a..0000000000 --- a/mingw-w64-turbo/turbo-enable-lazy_cell.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/crates/turborepo-lib/src/lib.rs -+++ b/crates/turborepo-lib/src/lib.rs -@@ -2,6 +2,7 @@ - #![feature(box_patterns)] - #![feature(error_generic_member_access)] - #![feature(hash_extract_if)] -+#![feature(lazy_cell)] - #![feature(option_get_or_insert_default)] - #![feature(once_cell_try)] - #![feature(panic_info_message)]