opnsense-ports/multimedia/kodi/files/patch-xbmc_LangInfo.cpp
Franco Fichtner 31f16fedee */*: sync with upstream
Taken from: FreeBSD
2016-04-18 01:10:53 +02:00

13 lines
732 B
C++

--- xbmc/LangInfo.cpp.orig 2016-02-20 15:21:19 UTC
+++ xbmc/LangInfo.cpp
@@ -282,8 +282,8 @@ void CLangInfo::CRegion::SetGlobalLocale
// decimal separator is changed depending of the current language
// (ie. "," in French or Dutch instead of "."). This breaks atof() and
// others similar functions.
-#if defined(TARGET_FREEBSD) || defined(TARGET_DARWIN_OSX) || defined(__UCLIBC__)
- // on FreeBSD, darwin and uClibc-based systems libstdc++ is compiled with
+#if defined(TARGET_DARWIN_OSX) || defined(__UCLIBC__)
+ // on darwin and uClibc-based systems libstdc++ is compiled with
// "generic" locale support
if (setlocale(LC_COLLATE, strLocale.c_str()) == NULL
|| setlocale(LC_CTYPE, strLocale.c_str()) == NULL)