diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-11-24 17:28:24 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-11-24 17:30:52 +0900 |
commit | 4da4f5edbf9de5c4269cf66d70044f4cb3abdc41 (patch) | |
tree | 21363ca7518a943c48bde3a669c78444685f832e /devel/electron13/files/patch-gin_wrappable.cc | |
parent | ports-mgmt/octopkg: update description and WWW (diff) |
devel/electron13: update to 13.6.2 (and rename from devel/electron12)
Changelog: https://www.electronjs.org/blog/electron-13-0
Diffstat (limited to 'devel/electron13/files/patch-gin_wrappable.cc')
-rw-r--r-- | devel/electron13/files/patch-gin_wrappable.cc | 20 |
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); + |