summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucio Sauer <watermanpaint@posteo.net>2024-08-08 04:29:37 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-08-20 11:31:45 +0300
commit2c70c3fc2449f0bdd5b09390ad2b30c6fca97cc2 (patch)
tree733188c95246e5f305f07f31f86a6011be5e306d /app-misc
parentnet-libs/nghttp3: keyworded for Prefix solaris/macos (diff)
downloadgentoo-2c70c3fc2449f0bdd5b09390ad2b30c6fca97cc2.tar.gz
gentoo-2c70c3fc2449f0bdd5b09390ad2b30c6fca97cc2.tar.bz2
gentoo-2c70c3fc2449f0bdd5b09390ad2b30c6fca97cc2.zip
app-misc/anki: Patch to use newer time
The version of time that anki 24.04.1 uses does not build with Rust 1.80.0[0][1]. This bumps time to 0.3.36 to address the issue. [0]: https://aur.archlinux.org/packages/anki#comment-984753 [1]: https://github.com/rust-lang/rust/issues/127343 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/anki/files/24.04.1/rust-1.80.0.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/app-misc/anki/files/24.04.1/rust-1.80.0.patch b/app-misc/anki/files/24.04.1/rust-1.80.0.patch
new file mode 100644
index 000000000000..397e43dbb4b2
--- /dev/null
+++ b/app-misc/anki/files/24.04.1/rust-1.80.0.patch
@@ -0,0 +1,31 @@
+Allow builds with ~virtual/rust-1.80.0
+
+https://github.com/gentoo/gentoo/pull/37727#issuecomment-2251642236
+https://github.com/time-rs/time/issues/693
+Author: Lucio Sauer <watermanpaint@posteo.net>
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -5515,9 +5515,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",
+@@ -5536,9 +5536,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",