Fix the display of translated message catalogs.

This commit is contained in:
Christian Weisgerber 2009-11-16 22:12:33 +00:00
parent c9147f42bf
commit 316ecd9668
2 changed files with 12 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= gtkballs
PORTVERSION= 3.1.5
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= http://gtkballs.antex.ru/dist/

View file

@ -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 */