Permalink
Browse files

sync with -current ports tree

Our python supports locale.bindtextdomain now.
  • Loading branch information...
1 parent 636c74d commit fca835b94a4ad79e4aca694b83c78f4cec859efa @sizeofvoid sizeofvoid committed Mar 9, 2014
Showing with 1 addition and 16 deletions.
  1. +1 −0 net/gajim/Makefile
  2. +0 −16 net/gajim/patches/patch-src_plugins_plugins_i18n_py
View
@@ -4,6 +4,7 @@ SHARED_ONLY= Yes
COMMENT= jabber client written in pygtk
DISTNAME= gajim-0.16-beta2
+REVISION= 0
CATEGORIES= net x11
MASTER_SITES= ${HOMEPAGE}/downloads/0.16/
@@ -1,16 +0,0 @@
-$OpenBSD: patch-src_plugins_plugins_i18n_py,v 1.1 2012/03/28 12:37:05 pea Exp $
---- src/plugins/plugins_i18n.py.orig Wed Mar 28 14:17:35 2012
-+++ src/plugins/plugins_i18n.py Wed Mar 28 14:18:35 2012
-@@ -29,7 +29,11 @@ plugins_locale_dir = os_path.join(gajim.PLUGINS_DIRS[1
-
- if os.name != 'nt':
- locale.setlocale(locale.LC_ALL, '')
-- locale.bindtextdomain(APP, plugins_locale_dir)
-+ # We don't provide bindtextdomain
-+ try:
-+ locale.bindtextdomain(APP, plugins_locale_dir)
-+ except AttributeError:
-+ pass
- gettext.bindtextdomain(APP, plugins_locale_dir)
- gettext.textdomain(APP)
-

0 comments on commit fca835b

Please sign in to comment.