head 1.2; access; symbols pkgsrc-2017Q3:1.1.0.14 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.10 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.8 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.6 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.4 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.2 pkgsrc-2016Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2017.10.27.17.48.31; author ryoon; state dead; branches; next 1.1; commitid 5JxkMLJMGh5nuIcA; 1.1 date 2016.04.17.18.22.21; author ryoon; state Exp; branches; next ; commitid kYErSctBTRkdC03z; desc @@ 1.2 log @Remove thunderbird{24,31,38} @ text @$NetBSD: patch-mozilla_toolkit_xre_nsAppRunner.cpp,v 1.1 2016/04/17 18:22:21 ryoon Exp $ --- mozilla/toolkit/xre/nsAppRunner.cpp.orig 2015-06-08 17:49:32.000000000 +0000 +++ mozilla/toolkit/xre/nsAppRunner.cpp @@@@ -1808,6 +1808,18 @@@@ static nsresult LaunchChild(nsINativeApp if (NS_FAILED(rv)) return rv; +#if defined(XP_DARWIN) + pid_t pid = vfork(); + if (pid == 0) { // child + if (execv(exePath.get(), gRestartArgv) == -1) { + _exit(1); + } + } + else if (pid == -1) { + return NS_ERROR_FAILURE; + } +#else + #if defined(XP_UNIX) if (execv(exePath.get(), gRestartArgv) == -1) return NS_ERROR_FAILURE; @@@@ -1821,6 +1833,7 @@@@ static nsresult LaunchChild(nsINativeApp if (failed || exitCode) return NS_ERROR_FAILURE; #endif // XP_UNIX +#endif // XP_DARWIN #endif // WP_WIN #endif // WP_MACOSX #endif // MOZ_WIDGET_ANDROID @ 1.1 log @Import thunderbird38-38.7.2 as mail/thunderbird38. Mozilla Thunderbird is a redesign of the Mozilla mail component. The goal is to produce a cross platform stand alone mail application using the XUL user interface language. This version uses the gtk2 toolkit. This package tracks 38 ESR branch. @ text @d1 1 a1 1 $NetBSD: patch-mozilla_toolkit_xre_nsAppRunner.cpp,v 1.1 2015/07/09 15:17:34 ryoon Exp $ @