- create downloads dir with mode 0700 instead

- pass --disable-crashreporter
This commit is contained in:
martynas 2009-09-10 21:34:55 +00:00
parent 550124e459
commit a21dd6625c
2 changed files with 15 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.124 2009/09/10 21:28:25 martynas Exp $
# $OpenBSD: Makefile,v 1.125 2009/09/10 21:34:55 martynas Exp $
SHARED_ONLY= Yes
ONLY_FOR_ARCHS= alpha amd64 arm i386 powerpc sparc sparc64
@ -7,7 +7,7 @@ COMMENT= redesign of Mozilla's browser component
VER= 3.0.14
DISTNAME= mozilla
PKGNAME= mozilla-firefox-${VER}
PKGNAME= mozilla-firefox-${VER}p0
SO_VERSION= 20.0
# NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues.
@ -93,6 +93,7 @@ CONFIGURE_ARGS= --with-system-jpeg=${LOCALBASE} \
--enable-system-sqlite \
--enable-canvas \
--disable-libxul \
--disable-crashreporter \
--enable-official-branding
# from browser/config/mozconfig

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-xpcom_io_SpecialSystemDirectory_cpp,v 1.1 2009/09/10 21:34:55 martynas Exp $
--- xpcom/io/SpecialSystemDirectory.cpp.orig Fri Mar 14 20:34:21 2008
+++ xpcom/io/SpecialSystemDirectory.cpp Wed Sep 9 22:46:39 2009
@@ -444,7 +444,7 @@ GetUnixXDGUserDirectory(SystemDirectories aSystemDirec
if (NS_FAILED(rv))
return rv;
if (!exists) {
- rv = file->Create(nsIFile::DIRECTORY_TYPE, 0755);
+ rv = file->Create(nsIFile::DIRECTORY_TYPE, 0700);
if (NS_FAILED(rv))
return rv;
}