openbsd-ports/games/wesnoth/patches/patch-src_language_cpp
jasper 5b56930f43 - update wesnoth to 1.4
see release notes for a list of changes: http://www.wesnoth.org/start/1.4/

testing by paul de weerd, thanks!
ok maintainer
2008-04-03 10:23:01 +00:00

17 lines
613 B
Plaintext

$OpenBSD: patch-src_language_cpp,v 1.4 2008/04/03 10:23:01 jasper Exp $
--- src/language.cpp.orig Sat Feb 16 09:47:16 2008
+++ src/language.cpp Wed Mar 26 11:20:27 2008
@@ -125,12 +125,10 @@ static void wesnoth_setlocale(int category, std::strin
#endif
#endif
-#ifdef __BEOS__
if(setenv ("LANG", locale, 1) == -1)
std::cerr << "setenv LANG failed: " << strerror(errno);
if(setenv ("LC_ALL", locale, 1) == -1)
std::cerr << "setenv LC_ALL failed: " << strerror(errno);
-#endif
#ifdef __APPLE__
if(setenv ("LANGUAGE", locale, 1) == -1)
std::cerr << "setenv LANGUAGE failed: " << strerror(errno);