aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-passwordsafe/dont-require-py3-gettext-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-passwordsafe/dont-require-py3-gettext-support.patch')
-rw-r--r--community/gnome-passwordsafe/dont-require-py3-gettext-support.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/gnome-passwordsafe/dont-require-py3-gettext-support.patch b/community/gnome-passwordsafe/dont-require-py3-gettext-support.patch
new file mode 100644
index 0000000000..a91de27a33
--- /dev/null
+++ b/community/gnome-passwordsafe/dont-require-py3-gettext-support.patch
@@ -0,0 +1,16 @@
+We build python3 without gettext support built-in, so these function calls _will_
+fail.
+
+diff --git a/passwordsafe.in b/passwordsafe.in
+index b66e0c7..c68724d 100755
+--- a/passwordsafe.in
++++ b/passwordsafe.in
+@@ -31,8 +31,6 @@ def install_excepthook():
+ if __name__ == "__main__":
+ install_excepthook()
+
+- locale.bindtextdomain('passwordsafe', localedir)
+- locale.textdomain('passwordsafe')
+ gettext.bindtextdomain('passwordsafe', localedir)
+ gettext.textdomain('passwordsafe')
+