0f165eda60
http://www.mozilla.org/projects/security/known-vulnerabilities.html#firefox2.0.0.10 - fix canvas.drawImage regression. ok kurt@, kili@
31 lines
753 B
Plaintext
31 lines
753 B
Plaintext
$OpenBSD: patch-browser_app_mozilla_in,v 1.8 2007/11/28 20:22:25 martynas Exp $
|
|
--- browser/app/mozilla.in.orig Thu Nov 8 10:53:19 2007
|
|
+++ browser/app/mozilla.in Tue Nov 27 11:43:00 2007
|
|
@@ -92,7 +92,13 @@ moz_pis_startstop_scripts()
|
|
#uncomment for debugging
|
|
#set -x
|
|
|
|
+LIMIT=`ulimit -n`
|
|
+if [ $LIMIT -lt 128 -a "${LIMIT}" != "unlimited" ]; then
|
|
+ ulimit -Sn 128
|
|
+fi
|
|
+
|
|
moz_libdir=%MOZAPPDIR%
|
|
+MOZ_PLUGIN_PATH=_LOCALBASE_/lib/mozilla-plugins
|
|
MRE_HOME=%MREDIR%
|
|
|
|
# Use run-mozilla.sh in the current dir if it exists
|
|
@@ -172,7 +178,11 @@ do
|
|
esac
|
|
done
|
|
|
|
-export MRE_HOME
|
|
+if [ `_X11BASE_/bin/fc-list | wc -l` -eq 0 ]; then
|
|
+ export GDK_USE_XFT=0
|
|
+fi
|
|
+
|
|
+export MOZ_PLUGIN_PATH MRE_HOME
|
|
|
|
## Start addon scripts
|
|
moz_pis_startstop_scripts "start"
|