1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-20 20:20:30 -04:00
ports/multimedia/kodi/files/patch-xbmc_LangInfo.cpp
Guido Falsi 2452e02db4 - Update kodi to 17.6
- Renamed patches to use modern naming convention
- Regenerated a few other paatches

PR:		224301
Submitted by:	me
Approved by:	maintainer timeout
2017-12-28 09:17:14 +00:00

13 lines
734 B
C++

--- xbmc/LangInfo.cpp.orig 2017-11-14 16:55:01 UTC
+++ xbmc/LangInfo.cpp
@@ -284,8 +284,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)