freebsd-ports/www/chromium/files/patch-v8_BUILD.gn
Carlos J. Puga Medina 4931d3869a www/chromium: Update to 76.0.3809.100
Changelog: https://chromium.googlesource.com/chromium/src/+log/75.0.3770.142..76.0.3809.100?pretty=fuller&n=10000

Submitted by:	Matthias Wolf <matthias@rheinwolf.de>
MFH:		2019Q3
2019-08-12 10:39:48 +00:00

33 lines
894 B
Plaintext

--- v8/BUILD.gn.orig 2019-07-24 19:03:36 UTC
+++ v8/BUILD.gn
@@ -3541,7 +3541,7 @@ v8_component("v8_libbase") {
}
}
- if (is_linux) {
+ if (is_linux && !is_bsd) {
sources += [
"src/base/debug/stack_trace_posix.cc",
"src/base/platform/platform-linux.cc",
@@ -3561,6 +3561,12 @@ v8_component("v8_libbase") {
"dl",
"rt",
]
+ } else if (is_bsd) {
+ sources += [
+ "src/base/debug/stack_trace_posix.cc",
+ "src/base/platform/platform-freebsd.cc",
+ ]
+ libs = [ "rt", "execinfo" ]
} else if (is_android) {
if (current_toolchain == host_toolchain) {
libs = [
@@ -3818,6 +3824,7 @@ if (v8_use_snapshot && current_toolchain == v8_snapsho
"src/snapshot/embedded/platform-embedded-file-writer-win.h",
"src/snapshot/mksnapshot.cc",
]
+ libs = ["execinfo"]
configs = [ ":internal_config" ]