aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-third__party_swiftshader_src_Reactor_Debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-third__party_swiftshader_src_Reactor_Debug.cpp')
-rw-r--r--devel/electron29/files/patch-third__party_swiftshader_src_Reactor_Debug.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-third__party_swiftshader_src_Reactor_Debug.cpp b/devel/electron29/files/patch-third__party_swiftshader_src_Reactor_Debug.cpp
new file mode 100644
index 000000000000..6d183046901d
--- /dev/null
+++ b/devel/electron29/files/patch-third__party_swiftshader_src_Reactor_Debug.cpp
@@ -0,0 +1,11 @@
+--- third_party/swiftshader/src/Reactor/Debug.cpp.orig 2022-02-07 13:39:41 UTC
++++ third_party/swiftshader/src/Reactor/Debug.cpp
+@@ -46,7 +46,7 @@ namespace {
+
+ bool IsUnderDebugger()
+ {
+-#if defined(PTRACE) && !defined(__APPLE__) && !defined(__MACH__)
++#if defined(PTRACE) && !defined(__APPLE__) && !defined(__MACH__) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
+ static bool checked = false;
+ static bool res = false;
+