mirror of
https://git.freebsd.org/ports.git
synced 2025-07-02 01:50:37 -04:00
Under the hood runs Chromium 108.0.5359.181 with security patches up to
Chromium 110.0.5481.104. Most of the patches were taken of from
Chromium 108.0.5359.124 (7ae5e0e6d6
).
Build tests so far:
- 14.0-CURRENT@ amd64@df2fbbfa71
- 13.2-RELEASE amd64 ALSA
- 13.1-RELEASE amd64 ALSA
- 12.4-RELEASE amd64 + i386 (ALSA/PULSE/SNDIO)
Runtime tests with 12.4-RELEASE so far without issues.
PR: 272422
Exp-run by: antoine
45 lines
1.4 KiB
Text
45 lines
1.4 KiB
Text
--- src/3rdparty/chromium/v8/BUILD.gn.orig 2023-03-28 19:45:02 UTC
|
|
+++ src/3rdparty/chromium/v8/BUILD.gn
|
|
@@ -1243,6 +1243,14 @@ config("toolchain") {
|
|
} else if (target_os == "win") {
|
|
defines += [ "V8_HAVE_TARGET_OS" ]
|
|
defines += [ "V8_TARGET_OS_WIN" ]
|
|
+ } else if (target_os == "openbsd") {
|
|
+ defines += [ "V8_HAVE_TARGET_OS" ]
|
|
+ defines += [ "V8_TARGET_OS_OPENBSD" ]
|
|
+ defines += [ "V8_TARGET_OS_BSD" ]
|
|
+ } else if (target_os == "freebsd") {
|
|
+ defines += [ "V8_HAVE_TARGET_OS" ]
|
|
+ defines += [ "V8_TARGET_OS_FREEBSD" ]
|
|
+ defines += [ "V8_TARGET_OS_BSD" ]
|
|
}
|
|
|
|
# TODO(infra): Support v8_enable_prof on Windows.
|
|
@@ -5518,7 +5526,7 @@ v8_component("v8_libbase") {
|
|
}
|
|
}
|
|
|
|
- if (is_linux || is_chromeos) {
|
|
+ if ((is_linux || is_chromeos) && !is_bsd) {
|
|
sources += [
|
|
"src/base/debug/stack_trace_posix.cc",
|
|
"src/base/platform/platform-linux.cc",
|
|
@@ -5529,6 +5537,18 @@ v8_component("v8_libbase") {
|
|
"dl",
|
|
"rt",
|
|
]
|
|
+ } else if (is_openbsd) {
|
|
+ sources += [
|
|
+ "src/base/debug/stack_trace_posix.cc",
|
|
+ "src/base/platform/platform-openbsd.cc",
|
|
+ ]
|
|
+ libs = [ "execinfo" ]
|
|
+ } else if (is_freebsd) {
|
|
+ sources += [
|
|
+ "src/base/debug/stack_trace_posix.cc",
|
|
+ "src/base/platform/platform-freebsd.cc",
|
|
+ ]
|
|
+ libs = [ "execinfo" ]
|
|
} else if (current_os == "aix") {
|
|
sources += [
|
|
"src/base/debug/stack_trace_posix.cc",
|