summaryrefslogtreecommitdiff
path: root/misc/openoffice3-bin/files/soffice-patch
blob: 416b9f44fe09273f8c52471213a6e991668958d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# $NetBSD: soffice-patch,v 1.1.1.1 2009/01/31 22:05:53 bad Exp $
#

--- soffice.orig	2009-01-18 23:49:18.000000000 +0100
+++ soffice	2009-01-19 00:10:22.000000000 +0100
@@ -73,6 +73,10 @@
   esac
 done
 
+# Set LD_LIBRARY_PATH so that javaldx finds libuno_sal.so.3:
+LD_LIBRARY_PATH=$sd_prog/../basis-link/program:$sd_prog/../basis-link/../ure/lib${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}
+export LD_LIBRARY_PATH
+
 # extend the ld_library_path for java: javaldx checks the sofficerc for us
 if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
     my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS \