git: 418adc4a2512 - main - games/anki: Fix build with rust 1.89.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Sep 2025 08:25:58 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=418adc4a2512d466e70946d8fdd0fc932003109f
commit 418adc4a2512d466e70946d8fdd0fc932003109f
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2025-08-25 11:56:50 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2025-09-01 08:24:03 +0000
games/anki: Fix build with rust 1.89.0
error: unicode codepoint changing visible direction of text present in literal
--> out/rust/release/build/anki_i18n-646b20c5bb61f5d1/out/strings.rs:49842:22
error: unicode codepoint changing visible direction of text present in literal
--> rust/release/build/anki_i18n-646b20c5bb61f5d1/out/strings.rs:51313:21
error: unicode codepoint changing visible direction of text present in literal
--> out/rust/release/build/anki_i18n-646b20c5bb61f5d1/out/strings.rs:52025:22
error: unicode codepoint changing visible direction of text present in literal
--> rust/release/build/anki_i18n-646b20c5bb61f5d1/out/strings.rs:52129:21
PR: 288923
Approved by: portmgr (build fix blanket)
---
games/anki/files/patch-rust-1.89.0 | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/games/anki/files/patch-rust-1.89.0 b/games/anki/files/patch-rust-1.89.0
new file mode 100644
index 000000000000..5b3adb5cd8eb
--- /dev/null
+++ b/games/anki/files/patch-rust-1.89.0
@@ -0,0 +1,9 @@
+--- rslib/i18n/src/lib.rs.orig 2025-08-22 13:45:00 UTC
++++ rslib/i18n/src/lib.rs
+@@ -1,5 +1,6 @@
+ // Copyright: Ankitects Pty Ltd and contributors
+ // License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
++#![allow(text_direction_codepoint_in_literal)]
+
+ mod generated;
+