openbsd-ports/www/opera/patches/patch-install_sh
sturm 3717a5ef96 update to opera 10
note: this version of opera has font issue on OpenBSD, there are missing
MathML characters and some fonts, like Farsi(?), cannot be displayed at all.
I looked at it, but have no clue what to do about it.
2009-09-22 05:14:43 +00:00

33 lines
1.1 KiB
Plaintext

$OpenBSD: patch-install_sh,v 1.22 2009/09/22 05:14:43 sturm Exp $
--- install.sh.orig Sun Aug 30 18:25:07 2009
+++ install.sh Wed Sep 2 20:04:25 2009
@@ -870,7 +870,7 @@ generate_wrapper()
wrapper_contain="#!/bin/sh
# Required for Session Management
-case \$0 in /*) OPERA_SCRIPT_PATH=\$0;; *) OPERA_SCRIPT_PATH=`/bin/pwd`/\$0;; esac
+case \$0 in /*) OPERA_SCRIPT_PATH=\$0;; *) OPERA_SCRIPT_PATH=${str_paramwrapper}/\$0;; esac
export OPERA_SCRIPT_PATH
# Location of the Opera binaries
@@ -925,9 +925,6 @@ if test \"\${OPERA_DIR}\" = '' ; then
fi
fi
-OPERA_LD_PRELOAD=\"\${LD_PRELOAD}\"
-export OPERA_LD_PRELOAD
-
# Native Java enviroment
for d in \"\$OPERA_PERSONALDIR\" \"\$HOME/.opera\"
do if test -f \"\$d/javapath.txt\"
@@ -1063,9 +1060,6 @@ if test \"\${OPERA_JAVA_DIR}\"; then
export LD_LIBRARY_PATH OPERA_JAVA_DIR
fi
-# Workarounds for the \"preloaded libXt\" problem.
-LD_PRELOAD=\"libjvm.so:libawt.so:\${OPERA_LD_PRELOAD}\"
-export LD_PRELOAD
# To disable the first workaround, comment the next line.
JAVA_WORKAROUND=\`\${OPERA_BINARYDIR}/works 2>/dev/null\`