openbsd-ports/astro/stellarium/patches/patch-src_stelutils_Translator_cpp

12 lines
415 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_stelutils_Translator_cpp,v 1.2 2008/01/18 09:52:34 ajacoutot Exp $
--- src/stelutils/Translator.cpp.orig Thu Jan 17 15:15:35 2008
+++ src/stelutils/Translator.cpp Fri Jan 18 09:38:47 2008
@@ -67,6 +67,7 @@ void Translator::initSystemLanguage(void)
2007-06-18 07:58:11 -04:00
if (lang) systemLangName = lang;
else
{
+ setenv("LANG", "en_US", 0);
lang = getenv("LANG");
if (lang) systemLangName = lang;
else