aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-authenticator/dont-require-py3-gettext-support.patch
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-23 00:40:06 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-09-23 00:41:49 +0200
commit684f6350856b82417565f28cd6b0a519ed38d94c (patch)
treea5d83e878e08ae88a20f96357077361deb08aa15 /community/gnome-authenticator/dont-require-py3-gettext-support.patch
parent1018c7205514bf6d98da8b5ebaac139bb6262b2b (diff)
downloadaports-684f6350856b82417565f28cd6b0a519ed38d94c.tar.bz2
aports-684f6350856b82417565f28cd6b0a519ed38d94c.tar.xz
community/gnome-authenticator: move from testing
Diffstat (limited to 'community/gnome-authenticator/dont-require-py3-gettext-support.patch')
-rw-r--r--community/gnome-authenticator/dont-require-py3-gettext-support.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/gnome-authenticator/dont-require-py3-gettext-support.patch b/community/gnome-authenticator/dont-require-py3-gettext-support.patch
new file mode 100644
index 0000000000..88d96a09e0
--- /dev/null
+++ b/community/gnome-authenticator/dont-require-py3-gettext-support.patch
@@ -0,0 +1,13 @@
+diff --git a/src/authenticator.py.in b/src/authenticator.py.in
+index 1e75e10..2f2fec2 100755
+--- a/src/authenticator.py.in
++++ b/src/authenticator.py.in
+@@ -35,8 +35,6 @@ from gi.repository import Gio, Handy
+ sys.path.insert(1, '@PYTHON_DIR@')
+
+ def prepare_locale():
+- locale.bindtextdomain('@GETTEXT_PACKAGE@', '@LOCALE_DIR@')
+- locale.textdomain('@GETTEXT_PACKAGE@')
+ gettext.bindtextdomain('@GETTEXT_PACKAGE@', '@LOCALE_DIR@')
+ gettext.textdomain('@GETTEXT_PACKAGE@')
+