aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice-3-devel/files/patch-i87583
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-3-devel/files/patch-i87583')
-rw-r--r--editors/openoffice-3-devel/files/patch-i8758326
1 files changed, 26 insertions, 0 deletions
diff --git a/editors/openoffice-3-devel/files/patch-i87583 b/editors/openoffice-3-devel/files/patch-i87583
new file mode 100644
index 000000000000..6a7f7b39edee
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-i87583
@@ -0,0 +1,26 @@
+--- work/DEV300_m4/desktop/scripts/soffice.sh 2008-03-18 22:44:45.000000000 +0900
++++ /usr/local/openoffice.org-DEV300_m4/openoffice.org3.0/program/soffice 2008-03-29 19:17:49.000000000 +0900
+@@ -68,6 +68,23 @@
+
+ sd_binary=`basename "$0"`.bin
+
++# this is a temporary hack until we can live with the default search paths
++case "`uname -s`" in
++ FreeBSD)
++ sd_prog1="$sd_prog/../basis-link/program"
++ sd_prog2="$sd_prog/../basis-link/ure-link/lib"
++ if [ $LD_LIBRARY_PATH ]; then
++ SYSTEM_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
++ export SYSTEM_LD_LIBRARY_PATH
++ LD_LIBRARY_PATH="$sd_prog1:$sd_prog2":$LD_LIBRARY_PATH
++ else
++ LD_LIBRARY_PATH="$sd_prog1:$sd_prog2"
++ fi
++ export LD_LIBRARY_PATH
++ ;;
++
++esac
++
+ #collect all bootstrap variables specified on the command line
+ #so that they can be passed as arguments to javaldx later on
+ for arg in $@