From 1814edd7bdd396f044e3259c7402cdf5e8f3e8a1 Mon Sep 17 00:00:00 2001 From: Arseniy Romenskiy Date: Fri, 20 Feb 2026 17:05:58 +0300 Subject: [PATCH] fix --- zerotier-one.spec | 8 ++++---- zerotier-one.spec~ | 11 +++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/zerotier-one.spec b/zerotier-one.spec index f439745f..f23eeb1f 100644 --- a/zerotier-one.spec +++ b/zerotier-one.spec @@ -54,13 +54,13 @@ directory = "../vendor" EOF #== -cp -a vendor/time-0.3.25 vendor/time-0.3.25-patched +cp -a vendor/time vendor/time-patched perl -0777 -pi -e 's/let items = format_items\s*\n\s*\.map\(\|res\|\s*res\.map\(Into::into\)\)\s*\n\s*\.collect::, _>>\(\)\?\s*;/let items = format_items.collect::, _>>()?;/s' \ - vendor/time-0.3.25-patched/src/format_description/parse/mod.rs + vendor/time-patched/src/format_description/parse/mod.rs ### -grep zeroidc/Cargo.toml 'time-0.3.25-patched' || cat >> zeroidc/Cargo.toml <> zeroidc/Cargo.toml <, _>>\(\)\?\s*;/let items = format_items.collect::, _>>()?;/s' \ + vendor/time-0.3.25-patched/src/format_description/parse/mod.rs +### +grep zeroidc/Cargo.toml 'time-0.3.25-patched' || cat >> zeroidc/Cargo.toml <