summaryrefslogtreecommitdiff
path: root/devel/electron5/files/patch-content_common_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron5/files/patch-content_common_BUILD.gn')
-rw-r--r--devel/electron5/files/patch-content_common_BUILD.gn15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/electron5/files/patch-content_common_BUILD.gn b/devel/electron5/files/patch-content_common_BUILD.gn
new file mode 100644
index 000000000000..84a623759634
--- /dev/null
+++ b/devel/electron5/files/patch-content_common_BUILD.gn
@@ -0,0 +1,15 @@
+--- content/common/BUILD.gn.orig 2019-04-08 08:32:54 UTC
++++ content/common/BUILD.gn
+@@ -382,6 +382,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