SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
games/blobwars/patches/patch-src_main_cpp
Normal file
12
games/blobwars/patches/patch-src_main_cpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
Fix non-ascii locales
|
||||
--- src/main.cpp.orig
|
||||
+++ src/main.cpp
|
||||
@@ -138,7 +138,7 @@ int main(int argc, char *argv[])
|
||||
replayData.reset();
|
||||
|
||||
bindtextdomain("blobwars", LOCALEDIR);
|
||||
- setlocale(LC_ALL, "");
|
||||
+ bind_textdomain_codeset("blobwars", "UTF-8");
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
textdomain("blobwars");
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue