[vlc-devel] commit: contribs: the locale.h of mingw sucks use the alternatives ( Christophe Mutricy )
git version control
git at videolan.org
Sun Jul 27 18:28:47 CEST 2008
vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sun Jul 27 17:20:26 2008 +0100| [cdd49a32215e61c44c8d90fc81f28b431dd6a32b]
contribs: the locale.h of mingw sucks use the alternatives
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cdd49a32215e61c44c8d90fc81f28b431dd6a32b
---
extras/contrib/src/Patches/live-uselocale.patch | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/extras/contrib/src/Patches/live-uselocale.patch b/extras/contrib/src/Patches/live-uselocale.patch
index 667634c..842c09f 100644
--- a/extras/contrib/src/Patches/live-uselocale.patch
+++ b/extras/contrib/src/Patches/live-uselocale.patch
@@ -113,3 +113,11 @@ diff -ru live.old/liveMedia/RTSPCommon.cpp live/liveMedia/RTSPCommon.cpp
if (sscanf(fields, "npt = %f - %f", &start, &end) == 2) {
rangeStart = start;
rangeEnd = end;
+--- live/config.mingw.old 2008-07-27 17:13:52.000000000 +0100
++++ live/config.mingw 2008-07-27 17:19:04.000000000 +0100
+@@ -1,4 +1,4 @@
+-COMPILE_OPTS = $(INCLUDES) -I. -O -DSOCKLEN_T=int
++COMPILE_OPTS = $(INCLUDES) -I. -O -DSOCKLEN_T=int -DLOCALE_NOT_USED
+ C = c
+ C_COMPILER = $(CC)
+ C_FLAGS = $(COMPILE_OPTS) -DUSE_OUR_BZERO=1 -D__MINGW32__
More information about the vlc-devel
mailing list