[vlc-commits] Contribs: fix sparkle compatibility for OSX 5

Jean-Baptiste Kempf git at videolan.org
Sat Dec 10 20:15:50 CET 2011


vlc/vlc-1.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Dec 10 19:56:26 2011 +0100| [ade3e6a21fe026bf15b7e779ae0f2a3af4c991f2] | committer: Jean-Baptiste Kempf

Contribs: fix sparkle compatibility for OSX 5

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 028e42b29caeff94b662dc3cfe167f1411054a50)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=ade3e6a21fe026bf15b7e779ae0f2a3af4c991f2
---

 contrib/src/sparkle/rules.mak |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/contrib/src/sparkle/rules.mak b/contrib/src/sparkle/rules.mak
index b092623..d0eb602 100644
--- a/contrib/src/sparkle/rules.mak
+++ b/contrib/src/sparkle/rules.mak
@@ -16,9 +16,8 @@ sparkle: sparkle-$(SPARKLE_VERSION).zip .sum-sparkle
 	$(RM) -R $@ && mkdir -p $@ && cd $@ && unzip ../$<
 	cd $@/Extras/Source\ Code/Configurations && \
 		sed -i.orig -e s/"GCC_TREAT_WARNINGS_AS_ERRORS = YES"/"GCC_TREAT_WARNINGS_AS_ERRORS = NO"/g \
-            -e s/"ARCHS = .*"/"ARCHS = $(ARCH)"/ \
-			ConfigCommonRelease.xcconfig && \
-		sed -i.orig -e s/10\.4/$(OSX_VERSION)/g -e s/10\.5/$(OSX_VERSION)/g ConfigCommon.xcconfig
+                    -e s/"ARCHS = .*"/"ARCHS = $(ARCH)"/  ConfigCommonRelease.xcconfig && \
+		sed -i.orig -e s/MacOSX10.5.sdk/MacOSX$(OSX_VERSION).sdk/g ConfigCommon.xcconfig
 	touch $@
 
 .sparkle: sparkle



More information about the vlc-commits mailing list