summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/gnome-games/Makefile3
-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, 24 insertions, 1 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index 923839dff..dc609eb38 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -3,11 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/games/gnome-games/Makefile,v 1.229 2010/09/23 13:56:48 avl Exp $
+# $MCom: ports/games/gnome-games/Makefile,v 1.230 2010/09/27 08:53:00 kwm Exp $
#
PORTNAME= gnome-games
PORTVERSION= 2.32.0
+PORTREVISION= 1
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 000000000..21f82cedf
--- /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 000000000..bf677738e
--- /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 _