diff options
Diffstat (limited to 'german/staroffice52/files/soffice.patch')
-rw-r--r-- | german/staroffice52/files/soffice.patch | 52 |
1 files changed, 8 insertions, 44 deletions
diff --git a/german/staroffice52/files/soffice.patch b/german/staroffice52/files/soffice.patch index 501237f5c5a5..62dc300be297 100644 --- a/german/staroffice52/files/soffice.patch +++ b/german/staroffice52/files/soffice.patch @@ -1,44 +1,8 @@ ---- soffice.orig Sun Dec 19 16:23:23 1999 -+++ soffice Sun Dec 19 16:22:13 1999 -@@ -15,12 +15,13 @@ - # resolve installation directory - sd_platform=`uname -s` - case $sd_platform in -- SCO_SV) test=/bin/test ;; -- *) test=/usr/bin/test ;; -+ FreeBSD) test=/bin/test && symb="-h" ;; -+ SCO_SV) test=/bin/test && symb="-L" ;; -+ *) test=/usr/bin/test && symb="-L" ;; - esac - - sd_cwd="`pwd`" --if $test -L "$0" ; then -+if $test $symb "$0" ; then - sd_basename=`basename $0` - sd_script=`ls -l $0 | sed "s/.*${sd_basename} -> //g"` - else -@@ -37,9 +38,12 @@ - sd_fonts="$sd_inst/fonts" - - # extend the ld_library_path for java: javaldx checks the sofficerc for us --java_ld_library_path=`"$sd_inst/bin/javaldx" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"` --if [ "$java_ld_library_path" != "" ] ; then -- LD_LIBRARY_PATH=${java_ld_library_path}:${LD_LIBRARY_PATH} -+if [ -f $sd_inst/bin/javaldx ]; then -+ java_ld_library_path=`"$sd_inst/bin/javaldx" "$1" "$2" "$3" "$4" \ -+ "$5" "$6" "$7" "$8" "$9"` -+ if [ "$java_ld_library_path" != "" ] ; then -+ LD_LIBRARY_PATH=${java_ld_library_path}:${LD_LIBRARY_PATH} -+ fi - fi - - # set java environment variables -@@ -68,7 +72,7 @@ - export LD_LIBRARYN32_PATH - ;; - -- Linux) -+ Linux|FreeBSD) - LD_LIBRARY_PATH="$sd_inst/lib":$LD_LIBRARY_PATH - export LD_LIBRARY_PATH - ;; +--- new Wed Aug 23 00:09:46 2000 ++++ soffice Tue Aug 22 23:58:14 2000 +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/compat/linux/bin/sh + # + # StarOffice startup script + # (c) 1999 Sun Microsystems, Inc. |