ibus-libpinyin: fix for Python 3.11
This commit is contained in:
parent
8ebbffa962
commit
18922196cf
2 changed files with 13 additions and 1 deletions
12
srcpkgs/ibus-libpinyin/patches/python-3.11.patch
Normal file
12
srcpkgs/ibus-libpinyin/patches/python-3.11.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
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)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ibus-libpinyin'
|
# Template file for 'ibus-libpinyin'
|
||||||
pkgname=ibus-libpinyin
|
pkgname=ibus-libpinyin
|
||||||
version=1.12.0
|
version=1.12.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="gettext intltool libtool pkg-config autoconf-archive
|
hostmakedepends="gettext intltool libtool pkg-config autoconf-archive
|
||||||
automake gnome-common which"
|
automake gnome-common which"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue