summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/songbird/files/songbird-1.1.1-symlink.patch')
-rw-r--r--media-sound/songbird/files/songbird-1.1.1-symlink.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-sound/songbird/files/songbird-1.1.1-symlink.patch b/media-sound/songbird/files/songbird-1.1.1-symlink.patch
new file mode 100644
index 0000000..570f6ad
--- /dev/null
+++ b/media-sound/songbird/files/songbird-1.1.1-symlink.patch
@@ -0,0 +1,25 @@
+diff -Naru o/Songbird/songbird n/Songbird/songbird
+--- Songbird/songbird 2009-03-09 23:03:30.000000000 +0100
++++ Songbird/songbird 2009-03-17 11:05:34.000000000 +0100
+@@ -310,6 +310,7 @@
+ elif [ -x "$MOZ_DIST_BIN/$MOZ_APPRUNNER_NAME" ]
+ then
+ MOZ_PROGRAM=$MOZ_DIST_BIN/$MOZ_APPRUNNER_NAME
++ else
+ ##
+ ## Try resolving symlinks
+ ##
+@@ -324,11 +325,11 @@
+ break
+ fi
+ curdir=`dirname "$progname"`
+- run_moz="$curdir/$MOZ_DEFAULT_NAME"
++ run_moz="$curdir/songbird-bin"
+ if [ -x "$run_moz" ]; then
+ cd "$curdir"
+ MOZ_DIST_BIN=`pwd`
+- MOZ_PROGRAM=$MOZ_DIST_BIN/$MOZ_DEFAULT_NAME
++ MOZ_PROGRAM=$MOZ_DIST_BIN/songbird-bin
+ break
+ fi
+ done