diff options
author | mezz <mezz@FreeBSD.org> | 2010-10-03 00:18:16 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2010-10-03 00:18:16 +0800 |
commit | 2ff522cd5ab091097a5ffae58542002216ff6209 (patch) | |
tree | fbc6baa0ba91a2f963901a4fba7d8b3846f078e6 | |
parent | f098ae04baf811dd9e6bdc20146febf51027b901 (diff) | |
download | freebsd-ports-gnome-2ff522cd5ab091097a5ffae58542002216ff6209.tar.gz freebsd-ports-gnome-2ff522cd5ab091097a5ffae58542002216ff6209.tar.zst freebsd-ports-gnome-2ff522cd5ab091097a5ffae58542002216ff6209.zip |
Fix gnome-sudoku and gnome-glcless in the runtime, bump the PORTREVISION.
PR: ports/150197
Submitted by: David Gurvich <davidgurvich@gmail.com>
-rw-r--r-- | games/gnome-games/Makefile | 2 | ||||
-rw-r--r-- | games/gnome-games/files/patch-glchess_src_lib_defaults.py.in | 11 | ||||
-rw-r--r-- | games/gnome-games/files/patch-gnome-sudoku_src_lib_defaults.py.in | 11 |
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 _ |