summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-gin_wrappable.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-gin_wrappable.cc')
-rw-r--r--devel/electron13/files/patch-gin_wrappable.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-gin_wrappable.cc b/devel/electron13/files/patch-gin_wrappable.cc
new file mode 100644
index 000000000000..dd2ddfa31721
--- /dev/null
+++ b/devel/electron13/files/patch-gin_wrappable.cc
@@ -0,0 +1,20 @@
+--- gin/wrappable.cc.orig 2021-11-13 09:18:27 UTC
++++ gin/wrappable.cc
+@@ -8,7 +8,7 @@
+ #include "gin/object_template_builder.h"
+ #include "gin/per_isolate_data.h"
+
+-#if !defined(MAS_BUILD)
++#if !defined(MAS_BUILD) && !defined(OS_BSD)
+ #include "components/crash/core/common/crash_key.h"
+ #include "electron/shell/common/crash_keys.h"
+ #endif
+@@ -42,7 +42,7 @@ void WrappableBase::SecondWeakCallback(
+ const v8::WeakCallbackInfo<WrappableBase>& data) {
+ WrappableBase* wrappable = data.GetParameter();
+
+-#if !defined(MAS_BUILD)
++#if !defined(MAS_BUILD) && !defined(OS_BSD)
+ WrapperInfo* wrapperInfo = static_cast<WrapperInfo*>(data.GetInternalField(0));
+ std::string location = electron::crash_keys::GetCrashValueForGinWrappable(wrapperInfo);
+