[banshee] [bundle] do not use realpath when finding root
- From: Aaron Bockover <abock src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [bundle] do not use realpath when finding root
- Date: Wed, 27 Jan 2010 20:32:57 +0000 (UTC)
commit 6a30709b526b9d66930e83cf143219fcd3aef353
Author: Aaron Bockover <abockover novell com>
Date: Wed Jan 27 15:31:57 2010 -0500
[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 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/build/bundle/packages/patches/mono-runtime-relocation.patch b/build/bundle/packages/patches/mono-runtime-relocation.patch
index 61f7a6e..31f5ae2 100644
--- a/build/bundle/packages/patches/mono-runtime-relocation.patch
+++ b/build/bundle/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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]