head 1.2; access; symbols pkgsrc-2016Q4:1.1.0.8 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.6 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.4 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.2 pkgsrc-2016Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2017.01.22.12.27.22; author ryoon; state dead; branches; next 1.1; commitid 5VJ6CZyEDNPmEXCz; 1.1 date 2016.02.14.07.30.54; author ryoon; state Exp; branches; next ; commitid sEk8ICglPZQf2RUy; desc @@ 1.2 log @Update to 6.0.8 * Use OpenBSD Ports distfile * Profile directory has changed to $HOME/TorBrowser-Data * Besed on Firefox 45.6.0 @ text @$NetBSD: patch-browser_app_nsBrowserApp.cpp,v 1.1 2016/02/14 07:30:54 ryoon Exp $ * Replace XP_MACOSX with XP_DARWIN as the former is not defined when the toolkit is not cocoa. --- browser/app/nsBrowserApp.cpp.orig 2015-05-04 00:43:18.000000000 +0000 +++ browser/app/nsBrowserApp.cpp @@@@ -18,8 +18,10 @@@@ #include #endif -#ifdef XP_MACOSX +#ifdef XP_DARWIN #include +#endif +#ifdef MOZ_WIDGET_COCOA #include "MacQuirks.h" #endif @@@@ -459,7 +461,7 @@@@ TimeStamp_Now() } return sGetTickCount64() * freq.QuadPart; -#elif defined(XP_MACOSX) +#elif defined(XP_DARWIN) return mach_absolute_time(); #elif defined(HAVE_CLOCK_MONOTONIC) struct timespec ts; @@@@ -606,6 +608,7 @@@@ int main(int argc, char* argv[]) TriggerQuirks(); #endif + setenv("MOZ_PLUGIN_PATH", "%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko", 0); int gotCounters; #if defined(XP_UNIX) struct rusage initialRUsage; @ 1.1 log @Import tor-browser-5.5.2 as security/tor-browser. What is the Tor Browser? The Tor software protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, it prevents the sites you visit from learning your physical location, and it lets you access sites which are blocked. @ text @d1 1 a1 1 $NetBSD: patch-browser_app_nsBrowserApp.cpp,v 1.1 2015/07/09 14:13:52 ryoon Exp $ @