diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2025-08-25 13:56:50 +0200 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2025-09-01 10:24:03 +0200 |
commit | 418adc4a2512d466e70946d8fdd0fc932003109f (patch) | |
tree | e42c9fe63381590c3e48b0562ca5eb85202ed046 | |
parent | www/iridium: Fix build with rust 1.89.0 (diff) |
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)
-rw-r--r-- | games/anki/files/patch-rust-1.89.0 | 9 |
1 files changed, 9 insertions, 0 deletions
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; + |