summaryrefslogtreecommitdiff
path: root/misc/libreoffice3-bin/files/soffice-patch
blob: a6bcdbd3ea2a903f80fd200e2eaa2f82ddbeb23f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# $NetBSD: soffice-patch,v 1.3 2011/10/07 13:28:54 ryoon 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 \