head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.2 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.5.0.2 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.4.0.4 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.2 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.1.1.1.0.24 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.22 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.20 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.18 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.16 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.14 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.12 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.10 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-2010Q2:1.1.1.1.0.8 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.6 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.4 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.2 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2013.05.19.08.47.41; author ryoon; state dead; branches; next 1.5; commitid i72N8U6dwY2uDdQw; 1.5 date 2013.01.10.15.01.30; author ryoon; state Exp; branches; next 1.4; 1.4 date 2012.08.28.23.27.10; author ryoon; state Exp; branches; next 1.3; 1.3 date 2012.08.28.12.42.01; author ryoon; state Exp; branches; next 1.2; 1.2 date 2012.07.18.16.10.06; author ryoon; state Exp; branches; next 1.1; 1.1 date 2009.08.05.02.59.48; author tnn; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2009.08.05.02.59.48; author tnn; state Exp; branches; next ; desc @@ 1.6 log @Update to 21.0 and mark as BROKEN. * Introduce WEBRTC patches for FreeBSD, this patches are not work for NetBSD. * When firefox/xulrunner-22.0 is released, I will check the functionality of xulrunner package again. * Patches and dist.mk are used by www/firefox. * Take MAINATINERship. @ text @$NetBSD: patch-av,v 1.5 2013/01/10 15:01:30 ryoon Exp $ --- xulrunner/app/nsXULRunnerApp.cpp.orig 2013-01-04 23:44:47.000000000 +0000 +++ xulrunner/app/nsXULRunnerApp.cpp @@@@ -6,6 +6,27 @@@@ #include "nsXPCOMGlue.h" #include #include +#include +/* + * On netbsd-4, ulimit -n is 64 by default; too few for us. + */ +static void netbsd_fixrlimit(void) { + struct rlimit rlp; + if (getrlimit(RLIMIT_NOFILE, &rlp) == -1) { + fprintf(stderr, "warning: getrlimit failed\n"); + return; + } + if (rlp.rlim_cur >= 512) + return; + if (rlp.rlim_max < 512) { + fprintf(stderr, "warning: hard limit of 'ulimit -n' too low\n"); + rlp.rlim_cur = rlp.rlim_max; + } + else + rlp.rlim_cur = 512; + if (setrlimit(RLIMIT_NOFILE, &rlp) == -1) + fprintf(stderr, "warning: setrlimit failed\n"); +} #ifdef XP_WIN #include #define snprintf _snprintf @@@@ -251,6 +272,7 @@@@ private: int main(int argc, char* argv[]) { + netbsd_fixrlimit(); char exePath[MAXPATHLEN]; nsresult rv = mozilla::BinaryPath::Get(argv[0], exePath); if (NS_FAILED(rv)) { @ 1.5 log @Update to 18.0 * Many patches are included into upstream distribution. I have tested on NetBSD/amd64 6.99.16, I will test on other platforms later. Changelog: from http://www.mozilla.org/en-US/firefox/18.0/releasenotes/ NEW Faster JavaScript performance via IonMonkey compiler NEW Support for Retina Display on OS X 10.7 and up NEW Preliminary support for WebRTC CHANGED Experience better image quality with our new HTML scaling algorithm CHANGED Performance improvements around tab switching DEVELOPER Support for new DOM property window.devicePixelRatio DEVELOPER Improvement in startup time through smart handling of signed extension certificates HTML5 Support for W3C touch events implemented, taking the place of MozTouch events FIXED Disable insecure content loading on HTTPS pages (62178) FIXED Improved responsiveness for users on proxies (769764) @ text @d1 1 a1 1 $NetBSD: patch-av,v 1.4 2012/08/28 23:27:10 ryoon Exp $ @ 1.4 log @Bump PKGREVISION * Switch to newer patches, trillian.chruetertee.ch/freebsd-gecko/browser/branches/experimental/www/firefox/files/patch-bug753046 * Regen patches @ text @d1 1 a1 1 $NetBSD: patch-av,v 1.3 2012/08/28 12:42:01 ryoon Exp $ d3 1 a3 1 --- xulrunner/app/nsXULRunnerApp.cpp.orig 2012-08-24 22:56:10.000000000 +0000 @ 1.3 log @Update to 15.0 * Use patches from https://bugzilla.mozilla.org/show_bug.cgi?id=753046 * Fix firefox.sh Changelog: NEW Preliminary native PDF support (Aurora/Beta only) NEW Support for SPDY networking protocol v3 NEW WebGL enhancements, including compressed textures for better performance CHANGED Optimized memory usage for add-ons DEVELOPER JavaScript debugger integrated into developer tools DEVELOPER New layout view added to Inspector DEVELOPER The CSS word-break property has been implemented. DEVELOPER High precision event timer implemented DEVELOPER New responsive design tool allows web developers to switch between desktop and mobile views of sites HTML5 Native support for the Opus audio codec added HTML5 The element now supports the media attribute HTML5 The