void-packages/srcpkgs/ibus-libpinyin/patches/python-3.11.patch

13 lines
397 B
Diff

Index: ibus-libpinyin-1.12.0/setup/main2.py
===================================================================
--- ibus-libpinyin-1.12.0.orig/setup/main2.py
+++ ibus-libpinyin-1.12.0/setup/main2.py
@@ -63,7 +63,6 @@ except AttributeError:
pass
gettext.bindtextdomain(DOMAINNAME, localedir)
-gettext.bind_textdomain_codeset(DOMAINNAME, 'UTF-8')
gettext.install(DOMAINNAME, localedir)