openbsd-ports/games/wesnoth/patches/patch-src_language_cpp
jasper 23c3a506da update wesnoth to 1.2.3
from MAINTAINER Vlad Glagolev <stelzy@gmail.com>

ok naddy@, kili@ and additional testing jsg@
2007-03-17 16:59:31 +00:00

17 lines
558 B
Plaintext

$OpenBSD: patch-src_language_cpp,v 1.2 2007/03/17 16:59:31 jasper Exp $
--- src/language.cpp.orig Wed Jul 12 00:57:03 2006
+++ src/language.cpp Thu Jan 25 22:50:06 2007
@@ -132,12 +132,10 @@
#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);