]> git.sesse.net Git - vlc/commitdiff
Backport OS X specific USE_LOCALE patch to trunk/
authorClément Stenac <zorglub@videolan.org>
Sun, 23 Oct 2005 15:34:37 +0000 (15:34 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 23 Oct 2005 15:34:37 +0000 (15:34 +0000)
extras/contrib/src/Makefile
extras/contrib/src/Patches/livedotcom-osx.patch [new file with mode: 0644]

index ce154d70fbcfe070298cf57fa9e26542138eb2ea..84fad492dcfa982d6923fa716677f6f5d2b7ede5 100644 (file)
@@ -865,6 +865,7 @@ live555-$(LIVEDOTCOM_VERSION).tar.gz:
 live: live555-$(LIVEDOTCOM_VERSION).tar.gz
        $(EXTRACT_GZ)
        patch -p 0 < Patches/live.patch
+       patch -p 0 < Patches/livedotcom-osx.patch
 
 .live: live
 ifeq ($(HOST),ppc-darwin)
diff --git a/extras/contrib/src/Patches/livedotcom-osx.patch b/extras/contrib/src/Patches/livedotcom-osx.patch
new file mode 100644 (file)
index 0000000..8a0a34b
--- /dev/null
@@ -0,0 +1,15 @@
+--- live.orig/config.macosx    2005-10-23 08:50:31.000000000 +0200
++++ live/config.macosx 2005-10-23 17:10:57.000000000 +0200
+@@ -1,10 +1,10 @@
+ COMPILE_OPTS =                $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=socklen_t
+ C =                   c
+ C_COMPILER =          cc
+-C_FLAGS =             $(COMPILE_OPTS)
++C_FLAGS =             $(COMPILE_OPTS) -DUSE_LOCALE
+ CPP =                 cpp
+ CPLUSPLUS_COMPILER =  c++
+-CPLUSPLUS_FLAGS =     $(COMPILE_OPTS) -Wall
++CPLUSPLUS_FLAGS =     $(COMPILE_OPTS) -Wall -DUSE_LOCALE
+ OBJ =                 o
+ LINK =                        c++ -o 
+ LINK_OPTS =           -L.