mirror of
https://github.com/termux/termux-packages.git
synced 2025-02-22 21:37:04 +00:00
Closes #18900 (that bug was described as "with the general intention of running meld", and this is a newer way and a newer version of meld than that)
12 lines
443 B
Diff
12 lines
443 B
Diff
--- a/bin/meld
|
|
+++ b/bin/meld
|
|
@@ -141,7 +141,7 @@ try:
|
|
locale.bindtextdomain(locale_domain, str(locale_dir))
|
|
locale.bind_textdomain_codeset(locale_domain, 'UTF-8')
|
|
locale.textdomain(locale_domain)
|
|
-except AttributeError as e:
|
|
+except (AttributeError,OSError) as e:
|
|
# Python builds linked without libintl (i.e., OSX) don't have
|
|
# bindtextdomain(), which causes Gtk.Builder translations to fail.
|
|
print(
|