aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-05-30 03:11:02 +0800
committerahze <ahze@FreeBSD.org>2006-05-30 03:11:02 +0800
commitb34c29b6c7a01ff8cf47a6f7e0666b5a26bdff6a (patch)
treeb15c1a52e8fc537691c93dbe1dea3cf4b7e88bf7 /multimedia
parentf549780004e8f97009469c207dceccb18a5102b5 (diff)
downloadfreebsd-ports-gnome-b34c29b6c7a01ff8cf47a6f7e0666b5a26bdff6a.tar.gz
freebsd-ports-gnome-b34c29b6c7a01ff8cf47a6f7e0666b5a26bdff6a.tar.zst
freebsd-ports-gnome-b34c29b6c7a01ff8cf47a6f7e0666b5a26bdff6a.zip
- 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
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vlc/files/patch-src_misc_charset.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/vlc/files/patch-src_misc_charset.c b/multimedia/vlc/files/patch-src_misc_charset.c
new file mode 100644
index 000000000000..2fe21e7c4343
--- /dev/null
+++ b/multimedia/vlc/files/patch-src_misc_charset.c
@@ -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' )
+ {