forked from Lainports/freebsd-ports
Fix the display of translated message catalogs.
This commit is contained in:
parent
c9147f42bf
commit
316ecd9668
2 changed files with 12 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= gtkballs
|
||||
PORTVERSION= 3.1.5
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://gtkballs.antex.ru/dist/
|
||||
|
||||
|
|
|
|||
11
games/gtkballs/files/patch-src_gtkballs.c
Normal file
11
games/gtkballs/files/patch-src_gtkballs.c
Normal 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 */
|
||||
Loading…
Add table
Reference in a new issue