aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2009-11-17 06:12:33 +0800
committernaddy <naddy@FreeBSD.org>2009-11-17 06:12:33 +0800
commitc2de122102a0776cecff505b551b7ae4840333b7 (patch)
tree6367781780185dfb2eaaec973ff3d11672cdff97 /games
parent64c9d85a503c94d4b9dfaaba9feafb7c210fd699 (diff)
downloadfreebsd-ports-gnome-c2de122102a0776cecff505b551b7ae4840333b7.tar.gz
freebsd-ports-gnome-c2de122102a0776cecff505b551b7ae4840333b7.tar.zst
freebsd-ports-gnome-c2de122102a0776cecff505b551b7ae4840333b7.zip
Fix the display of translated message catalogs.
Diffstat (limited to 'games')
-rw-r--r--games/gtkballs/Makefile2
-rw-r--r--games/gtkballs/files/patch-src_gtkballs.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/games/gtkballs/Makefile b/games/gtkballs/Makefile
index 41989885f397..e063c4c6a76c 100644
--- a/games/gtkballs/Makefile
+++ b/games/gtkballs/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gtkballs
PORTVERSION= 3.1.5
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= http://gtkballs.antex.ru/dist/
diff --git a/games/gtkballs/files/patch-src_gtkballs.c b/games/gtkballs/files/patch-src_gtkballs.c
new file mode 100644
index 000000000000..875649d96b0c
--- /dev/null
+++ b/games/gtkballs/files/patch-src_gtkballs.c
@@ -0,0 +1,11 @@
+--- src/gtkballs.c.orig 2009-11-16 23:08:02.000000000 +0100
++++ src/gtkballs.c 2009-11-16 23:08:12.000000000 +0100
+@@ -123,7 +123,7 @@ int main(int argc, char **argv) {
+ #ifdef ENABLE_NLS
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+- bind_textdomain_codeset(PACKAGE, "UTF8");
++ bind_textdomain_codeset(PACKAGE, "UTF-8");
+ #endif /* ENABLE_NLS */
+
+ /* drop privileges after spawning child with extra privs */