aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-passwordsafe/dont-require-py3-gettext-support.patch
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:09:11 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:29:46 +0200
commitb36f2ebd3255555fd247f753c3a768a66a65c682 (patch)
treeff8838b52c3f227cb0374e32540350c684a90d4f /community/gnome-passwordsafe/dont-require-py3-gettext-support.patch
parent3e00cd88d71db94c30ae166d26bd6199f3a89c8f (diff)
downloadaports-b36f2ebd3255555fd247f753c3a768a66a65c682.tar.bz2
aports-b36f2ebd3255555fd247f753c3a768a66a65c682.tar.xz
community/gnome-passwordsafe: move from testing
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')
+