0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-02 19:15:59 +00:00
termux-packages/packages/tectonic/6b49ca8db40aaca29cb375ce75add3e575558375.patch
Fredrik Fornwall 9014653415 fix(main/tectonic): Fix rust 1.80 compatibility by backporting patch
Fixes a build failure observed in #21130.
2024-08-18 12:10:13 +02:00

59 lines
1.7 KiB
Diff

From 6b49ca8db40aaca29cb375ce75add3e575558375 Mon Sep 17 00:00:00 2001
From: winstxnhdw <winstxnhdw@gmail.com>
Date: Thu, 27 Jun 2024 02:39:22 +0800
Subject: [PATCH] build/fix: update `time`
---
Cargo.lock | 9 +++++----
Cargo.toml | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 882dcd43b..91a03d4f6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2633,6 +2633,7 @@ dependencies = [
"tectonic_xetex_layout",
"tempfile",
"termcolor",
+ "time",
"tokio",
"toml",
"url",
@@ -2934,9 +2935,9 @@ dependencies = [
[[package]]
name = "time"
-version = "0.3.34"
+version = "0.3.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749"
+checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
dependencies = [
"deranged",
"itoa",
@@ -2957,9 +2958,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
[[package]]
name = "time-macros"
-version = "0.2.17"
+version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
+checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
dependencies = [
"num-conv",
"time-core",
diff --git a/Cargo.toml b/Cargo.toml
index 97244eb96..c4a359453 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -97,6 +97,7 @@ watchexec-filterer-globset = "3.0"
watchexec-signals = "2.0"
watchexec-supervisor = "1.0"
zip = { version = "^0.6", default-features = false, features = ["deflate"] }
+time = "0.3.36"
[features]
default = ["geturl-reqwest", "serialization"]