summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-content_common_BUILD.gn
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /devel/electron4/files/patch-content_common_BUILD.gn
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Diffstat (limited to 'devel/electron4/files/patch-content_common_BUILD.gn')
-rw-r--r--devel/electron4/files/patch-content_common_BUILD.gn15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/electron4/files/patch-content_common_BUILD.gn b/devel/electron4/files/patch-content_common_BUILD.gn
new file mode 100644
index 000000000000..62966fa52a10
--- /dev/null
+++ b/devel/electron4/files/patch-content_common_BUILD.gn
@@ -0,0 +1,15 @@
+--- content/common/BUILD.gn.orig 2019-03-15 06:37:21 UTC
++++ content/common/BUILD.gn
+@@ -417,6 +417,12 @@ source_set("common") {
+ libs += [ "android" ]
+ }
+
++ if (is_bsd) {
++ sources -= [
++ "sandbox_init_linux.cc",
++ ]
++ }
++
+ if (is_debug && !is_component_build && enable_plugins) {
+ # Content depends on the PPAPI message logging stuff; if this isn't here,
+ # some unit test binaries won't compile. This only worked in release mode