From 10e6ace6b66bddcee1a746c8d5fffb414209cf2a Mon Sep 17 00:00:00 2001 From: Siva Mahadevan Date: Mon, 27 Jul 2026 12:38:59 -0400 Subject: [PATCH] GhosttyI18n: fix build on freebsd with zig 0.16 --- src/build/GhosttyI18n.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/GhosttyI18n.zig b/src/build/GhosttyI18n.zig index 434c59a5d..dba72fd89 100644 --- a/src/build/GhosttyI18n.zig +++ b/src/build/GhosttyI18n.zig @@ -26,7 +26,7 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyI18n { // so we need to remove it from `locale` to have a correct destination string. // (/usr/local/share/locale/en_AU/LC_MESSAGES) const target_locale = comptime if (builtin.target.os.tag == .freebsd) - std.mem.trimRight(u8, locale, ".UTF-8") + std.mem.trimEnd(u8, locale, ".UTF-8") else locale;