- set fd soft limit to 128 if it's lower: helps for people who

upgraded and didn't use mergemaster;
- remove lines, related to debug build and fd in README.OpenBSD;
help from sturm@, kurt@, espie@, naddy@
ok kurt@, sturm@
This commit is contained in:
martynas 2007-06-12 16:45:37 +00:00
parent 6773e5eb4d
commit 17c3fae17a
3 changed files with 16 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.74 2007/06/01 08:03:42 martynas Exp $
# $OpenBSD: Makefile,v 1.75 2007/06/12 16:45:37 martynas Exp $
SHARED_ONLY= Yes
ONLY_FOR_ARCHS= alpha amd64 arm i386 powerpc sparc sparc64
@ -9,8 +9,8 @@ COMMENT-devel= "devel files for Gecko"
VER= 2.0.0.4
DISTNAME= mozilla
PKGNAME= mozilla-firefox-${VER}
PKGNAME-main= mozilla-firefox-${VER}
PKGNAME-devel= mozilla-firefox-devel-${VER}
PKGNAME-main= mozilla-firefox-${VER}p0
PKGNAME-devel= mozilla-firefox-devel-${VER}p0
SO_VERSION= 19.0
# NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues.

View File

@ -1,4 +1,4 @@
$OpenBSD: README.OpenBSD,v 1.4 2007/02/05 00:11:55 espie Exp $
$OpenBSD: README.OpenBSD,v 1.5 2007/06/12 16:45:37 martynas Exp $
If you encounter strange problems relating to bookmarks, downloads,
window placement, toolbars, history, or other settings, it is
@ -7,17 +7,8 @@ reproduce the problem before filing bugs. To create a new profile,
start Firefox with the -ProfileManager switch, e.g.
firefox -ProfileManager, and click "Create Profile".
If Firefox doesn't start at all, first try starting it with
-safe-mode switch, which disables extensions and themes for your
session.
If you still can't start Firefox, use the -debug flavor package instead.
If you can't fix the problem yourself, remember to provide output
when sending bug report.
Firefox will silently fail to print when it runs out of file
descriptors. If Firefox doesn't print a page increase your file
descriptors limit and try again.
If Firefox doesn't start at all, try starting it with -safe-mode
switch, which disables extensions and themes for your session.
To disable anti-aliasing (xft) set GDK_USE_XFT=0 in the environment.

View File

@ -1,15 +1,21 @@
$OpenBSD: patch-browser_app_mozilla_in,v 1.6 2007/03/01 22:46:06 robert Exp $
$OpenBSD: patch-browser_app_mozilla_in,v 1.7 2007/06/12 16:45:37 martynas Exp $
--- browser/app/mozilla.in.orig Wed Sep 21 00:13:03 2005
+++ browser/app/mozilla.in Sat Feb 24 18:46:11 2007
@@ -93,6 +93,7 @@ moz_pis_startstop_scripts()
+++ browser/app/mozilla.in Tue Jun 12 18:24:57 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
@@ -171,7 +172,11 @@ do
@@ -171,7 +177,11 @@ do
esac
done