9944b0d1c5
been tested good enough, and i've fixed all the issues i'm aware of. furthermore 2.0 branch has basically reached eol, since there will be only one minor update (2.0.0.19) discussed with kurt@, naddy@ and porters pkgname change handling help naddy@ ok naddy@
29 lines
664 B
Plaintext
29 lines
664 B
Plaintext
$OpenBSD: patch-browser_app_mozilla_in,v 1.10 2008/11/20 23:41:32 martynas Exp $
|
|
--- browser/app/mozilla.in.orig Fri Oct 5 10:29:26 2007
|
|
+++ browser/app/mozilla.in Sat Nov 17 16:13:18 2007
|
|
@@ -52,6 +52,11 @@
|
|
#uncomment for debugging
|
|
#set -x
|
|
|
|
+LIMIT=`ulimit -n`
|
|
+if [ $LIMIT -lt 128 -a "${LIMIT}" != "unlimited" ]; then
|
|
+ ulimit -Sn 128
|
|
+fi
|
|
+
|
|
moz_libdir=%MOZAPPDIR%
|
|
|
|
# Use run-mozilla.sh in the current dir if it exists
|
|
@@ -130,6 +135,12 @@ do
|
|
;;
|
|
esac
|
|
done
|
|
+
|
|
+if [ `_X11BASE_/bin/fc-list | wc -l` -eq 0 ]; then
|
|
+ export GDK_USE_XFT=0
|
|
+fi
|
|
+
|
|
+export MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH:=_LOCALBASE_/lib/mozilla-plugins}
|
|
|
|
if [ $debugging = 1 ]
|
|
then
|