From a335faaa25306b9e40fe19215ba5efb563080679 Mon Sep 17 00:00:00 2001 From: Aaron Bockover Date: Wed, 27 Jan 2010 15:31:57 -0500 Subject: [bundle] do not use realpath when finding root This is known to cause problems on 10.5 I think... --- packages/patches/mono-runtime-relocation.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages') diff --git a/packages/patches/mono-runtime-relocation.patch b/packages/patches/mono-runtime-relocation.patch index 61f7a6e..31f5ae2 100644 --- a/packages/patches/mono-runtime-relocation.patch +++ b/packages/patches/mono-runtime-relocation.patch @@ -5,8 +5,8 @@ Subject: [PATCH] Support Mono runtime relocation on OS X assembly.c (mono_set_rootdir): support finding the Mono paths on OS X at runtime in the same way as on Windows, which yields a relocatable -Mono. Uses dyld's _NSGetExecutablePath and realpath to resolve the path -of the running mono process. +Mono. Uses dyld's _NSGetExecutablePath to resolve the path of the +running mono process. On TARGET_ARM, fallback () will always be executed. --- @@ -52,7 +52,7 @@ index 1e7f733..ce37e8e 100644 + + name = NULL; + if (_NSGetExecutablePath (buf, &buf_size) == 0) { -+ name = realpath (buf, NULL); ++ name = buf; + } + + if (name == NULL) { -- cgit v1.2.3