aboutsummaryrefslogtreecommitdiff
path: root/games/gnome-games
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2010-10-02 16:18:16 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2010-10-02 16:18:16 +0000
commit0c5f978da8f75d2e1ae3a5b73656c1b0f5a3050c (patch)
treedf102b76add442ff46ab99ba42a5debe489b79ac /games/gnome-games
parent2f0c1359eed8ae7326f755c4da7eb1fd0b1f2a3e (diff)
downloadports-0c5f978da8f75d2e1ae3a5b73656c1b0f5a3050c.tar.gz
ports-0c5f978da8f75d2e1ae3a5b73656c1b0f5a3050c.zip
Notes
Diffstat (limited to 'games/gnome-games')
-rw-r--r--games/gnome-games/Makefile2
-rw-r--r--games/gnome-games/files/patch-glchess_src_lib_defaults.py.in11
-rw-r--r--games/gnome-games/files/patch-gnome-sudoku_src_lib_defaults.py.in11
3 files changed, 23 insertions, 1 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index 4b107e9944ef..6a5aa1005ac7 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gnome-games
PORTVERSION= 2.30.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
diff --git a/games/gnome-games/files/patch-glchess_src_lib_defaults.py.in b/games/gnome-games/files/patch-glchess_src_lib_defaults.py.in
new file mode 100644
index 000000000000..21f82cedfd52
--- /dev/null
+++ b/games/gnome-games/files/patch-glchess_src_lib_defaults.py.in
@@ -0,0 +1,11 @@
+--- glchess/src/lib/defaults.py.in.orig 2010-10-02 11:04:19.000000000 -0500
++++ glchess/src/lib/defaults.py.in 2010-10-02 11:04:47.000000000 -0500
+@@ -43,7 +43,7 @@
+ GGZ_CONFIG_FILE = os.path.join(GGZ_DIR, 'ggz-gtk.rc')
+
+ DOMAIN = 'gnome-games'
+-locale.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425
++gettext.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425
+ gettext.bindtextdomain(DOMAIN, LOCALEDIR)
+ gettext.textdomain(DOMAIN)
+ from gettext import gettext as _
diff --git a/games/gnome-games/files/patch-gnome-sudoku_src_lib_defaults.py.in b/games/gnome-games/files/patch-gnome-sudoku_src_lib_defaults.py.in
new file mode 100644
index 000000000000..bf677738e99d
--- /dev/null
+++ b/games/gnome-games/files/patch-gnome-sudoku_src_lib_defaults.py.in
@@ -0,0 +1,11 @@
+--- gnome-sudoku/src/lib/defaults.py.in.orig 2010-10-02 11:01:55.000000000 -0500
++++ gnome-sudoku/src/lib/defaults.py.in 2010-10-02 11:02:25.000000000 -0500
+@@ -30,7 +30,7 @@
+ PUZZLE_DIR = BASE_DIR
+
+ DOMAIN = 'gnome-games'
+-locale.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425
++gettext.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425
+ gettext.bindtextdomain(DOMAIN, LOCALEDIR)
+ gettext.textdomain(DOMAIN)
+ from gettext import gettext as _