mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
- Fix build if LC_ALL is defined
Submitted by: Oleg Gawriloff <barzog@telecom.by> Obtained from: http://www.via.ecp.fr/via/ml/vlc/2006-05/msg00018.html
This commit is contained in:
parent
44b0123db8
commit
fb420c1efa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163875
12
multimedia/vlc/files/patch-src_misc_charset.c
Normal file
12
multimedia/vlc/files/patch-src_misc_charset.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/misc/charset.c.orig Mon May 29 15:08:35 2006
|
||||
+++ src/misc/charset.c Mon May 29 15:09:00 2006
|
||||
@@ -570,7 +570,9 @@
|
||||
/* Some systems (like Darwin, SunOS 4 or DJGPP) have only the C locale.
|
||||
* Therefore we don't use setlocale here; it would return "C". */
|
||||
# if HAVE_SETLOCALE && !__APPLE__
|
||||
+# if defined LC_ALL
|
||||
psz_lang = setlocale( LC_ALL, NULL );
|
||||
+# endif
|
||||
# endif
|
||||
if( psz_lang == NULL || psz_lang[0] == '\0' )
|
||||
{
|
Loading…
Reference in New Issue
Block a user