mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
FreeBSD-specific improvements: - working WiFi geolocation [1] (can be turned off in preferences) - fix build with clang (use external libvpx) - use SysV SHM model and where possible OS_BSD, which saves some patches - no need to use ZygoteProcess switch HTML5 audio is currently broken. PR: ports/174402 [1] Submitted by: J.R. Oldroyd <fbsd@opal.com> [1] Security: http://www.vuxml.org/freebsd/46bd747b-5b84-11e2-b06d-00262d5ed8ee.html
29 lines
1.4 KiB
C++
29 lines
1.4 KiB
C++
--- content/app/content_main_runner.cc.orig 2012-11-27 10:01:23.000000000 +0200
|
|
+++ content/app/content_main_runner.cc 2012-12-09 16:57:51.000000000 +0200
|
|
@@ -99,7 +99,7 @@
|
|
extern int RendererMain(const content::MainFunctionParams&);
|
|
extern int UtilityMain(const MainFunctionParams&);
|
|
extern int WorkerMain(const MainFunctionParams&);
|
|
-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
|
|
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
|
|
extern int ZygoteMain(const MainFunctionParams&,
|
|
ZygoteForkDelegate* forkdelegate);
|
|
#endif
|
|
@@ -344,7 +344,7 @@
|
|
int (*function)(const MainFunctionParams&);
|
|
};
|
|
|
|
-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
|
|
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
|
|
// On platforms that use the zygote, we have a special subset of
|
|
// subprocesses that are launched via the zygote. This function
|
|
// fills in some process-launching bits around ZygoteMain().
|
|
@@ -449,7 +449,7 @@
|
|
}
|
|
}
|
|
|
|
-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
|
|
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
|
|
// Zygote startup is special -- see RunZygote comments above
|
|
// for why we don't use ZygoteMain directly.
|
|
if (process_type == switches::kZygoteProcess)
|