[vlc-commits] Mac Port: disable 64bit mode on 10.5 and make it the preferred mode on 10.6

Felix Paul Kühne git at videolan.org
Tue Jan 25 13:28:57 CET 2011


vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Jan 25 13:28:44 2011 +0100| [42034874bd2a599ece2012d588c210637ac5083f] | committer: Felix Paul Kühne

Mac Port: disable 64bit mode on 10.5 and make it the preferred mode on 10.6

This will fix a bunch of crashes related to the buggy 10.5 64bit runtime.

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=42034874bd2a599ece2012d588c210637ac5083f
---

 extras/package/macosx/Info.plist.in |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/extras/package/macosx/Info.plist.in b/extras/package/macosx/Info.plist.in
index 9a74e0b..701ffb6 100644
--- a/extras/package/macosx/Info.plist.in
+++ b/extras/package/macosx/Info.plist.in
@@ -1349,6 +1349,23 @@
 	</array>
 	<key>CFBundleVersion</key>
 	<string>@VERSION@</string>
+    <key>LSArchitecturePriority</key>
+	<array>
+		<string>x86_64</string>
+		<string>i386</string>
+		<string>ppc</string>
+	</array>
+	<key>LSMinimumSystemVersionByArchitecture</key>
+	<dict>
+		<key>i386</key>
+		<string>10.5.0</string>
+		<key>x86_64</key>
+		<string>10.6.0</string>
+		<key>ppc</key>
+		<string>10.5.0</string>
+		<key>ppc64</key>
+		<string>10.5.0</string>
+	</dict>
 	<key>NSAppleScriptEnabled</key>
 	<string>YES</string>
 	<key>NSMainNibFile</key>



More information about the vlc-commits mailing list