openbsd-ports/www/firefox35/patches/patch-build_unix_mozilla_in
martynas 5473c857d7 import firefox35-3.5rc2, been using it for couple of months.
wip, not linked to the build yet.  needs nspr&nss updates.
2009-06-21 01:31:23 +00:00

29 lines
664 B
Plaintext

$OpenBSD: patch-build_unix_mozilla_in,v 1.1.1.1 2009/06/21 01:31:26 martynas Exp $
--- build/unix/mozilla.in.orig Thu Mar 5 23:31:44 2009
+++ build/unix/mozilla.in Fri Mar 13 17:36:45 2009
@@ -50,6 +50,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
@@ -129,6 +134,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